Class: AWSCDK::MediaConnect::CfnBridge::VPCInterfaceAttachmentProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
media_connect/cfn_bridge.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.



1118
1119
1120
1121
# File 'media_connect/cfn_bridge.rb', line 1118

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.



1127
1128
1129
# File 'media_connect/cfn_bridge.rb', line 1127

def vpc_interface_name
  @vpc_interface_name
end

Class Method Details

.jsii_propertiesObject



1129
1130
1131
1132
1133
# File 'media_connect/cfn_bridge.rb', line 1129

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

Instance Method Details

#to_jsiiObject



1135
1136
1137
1138
1139
1140
1141
# File 'media_connect/cfn_bridge.rb', line 1135

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