Class: AWSCDK::MediaConnect::CfnFlow::VPCInterfaceAttachmentProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
media_connect/cfn_flow.rb

Overview

The settings for attaching a VPC interface to an resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(vpc_interface_name: nil) ⇒ VPCInterfaceAttachmentProperty

Returns a new instance of VPCInterfaceAttachmentProperty.

Parameters:

  • vpc_interface_name (String, nil) (defaults to: nil)

    The name of the VPC interface to use for this resource.



2323
2324
2325
2326
# File 'media_connect/cfn_flow.rb', line 2323

def initialize(vpc_interface_name: nil)
  @vpc_interface_name = vpc_interface_name
  Jsii::Type.check_type(@vpc_interface_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "vpcInterfaceName") unless @vpc_interface_name.nil?
end

Instance Attribute Details

#vpc_interface_nameString? (readonly)

The name of the VPC interface to use for this resource.



2332
2333
2334
# File 'media_connect/cfn_flow.rb', line 2332

def vpc_interface_name
  @vpc_interface_name
end

Class Method Details

.jsii_propertiesObject



2334
2335
2336
2337
2338
# File 'media_connect/cfn_flow.rb', line 2334

def self.jsii_properties
  {
    :vpc_interface_name => "vpcInterfaceName",
  }
end

Instance Method Details

#to_jsiiObject



2340
2341
2342
2343
2344
2345
2346
# File 'media_connect/cfn_flow.rb', line 2340

def to_jsii
  result = {}
  result.merge!({
    "vpcInterfaceName" => @vpc_interface_name,
  })
  result.compact
end