Class: AWSCDK::MediaConnect::CfnFlowOutput::VPCInterfaceAttachmentProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaConnect::CfnFlowOutput::VPCInterfaceAttachmentProperty
- Defined in:
- media_connect/cfn_flow_output.rb
Overview
The settings for attaching a VPC interface to an resource.
Instance Attribute Summary collapse
-
#vpc_interface_name ⇒ String?
readonly
The name of the VPC interface to use for this resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(vpc_interface_name: nil) ⇒ VPCInterfaceAttachmentProperty
constructor
A new instance of VPCInterfaceAttachmentProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(vpc_interface_name: nil) ⇒ VPCInterfaceAttachmentProperty
Returns a new instance of VPCInterfaceAttachmentProperty.
1183 1184 1185 1186 |
# File 'media_connect/cfn_flow_output.rb', line 1183 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_name ⇒ String? (readonly)
The name of the VPC interface to use for this resource.
1192 1193 1194 |
# File 'media_connect/cfn_flow_output.rb', line 1192 def vpc_interface_name @vpc_interface_name end |
Class Method Details
.jsii_properties ⇒ Object
1194 1195 1196 1197 1198 |
# File 'media_connect/cfn_flow_output.rb', line 1194 def self.jsii_properties { :vpc_interface_name => "vpcInterfaceName", } end |
Instance Method Details
#to_jsii ⇒ Object
1200 1201 1202 1203 1204 1205 1206 |
# File 'media_connect/cfn_flow_output.rb', line 1200 def to_jsii result = {} result.merge!({ "vpcInterfaceName" => @vpc_interface_name, }) result.compact end |