Class: AWSCDK::EC2::CfnLaunchTemplate::NetworkInterfaceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EC2::CfnLaunchTemplate::NetworkInterfaceProperty
- Defined in:
- ec2/cfn_launch_template.rb
Overview
Specifies the parameters for a network interface.
NetworkInterface is a property of AWS::EC2::LaunchTemplate LaunchTemplateData .
Instance Attribute Summary collapse
-
#associate_carrier_ip_address ⇒ Boolean, ...
readonly
Associates a Carrier IP address with eth0 for a new network interface.
-
#associate_public_ip_address ⇒ Boolean, ...
readonly
Associates a public IPv4 address with eth0 for a new network interface.
-
#connection_tracking_specification ⇒ AWSCDK::IResolvable, ...
readonly
A connection tracking specification for the network interface.
-
#delete_on_termination ⇒ Boolean, ...
readonly
Indicates whether the network interface is deleted when the instance is terminated.
-
#description ⇒ String?
readonly
A description for the network interface.
-
#device_index ⇒ Numeric?
readonly
The device index for the network interface attachment.
-
#ena_queue_count ⇒ Numeric?
readonly
The number of ENA queues to be created with the instance.
-
#ena_srd_specification ⇒ AWSCDK::IResolvable, ...
readonly
The ENA Express configuration for the network interface.
-
#groups ⇒ Array<String>?
readonly
The IDs of one or more security groups.
-
#interface_type ⇒ String?
readonly
The type of network interface.
-
#ipv4_prefix_count ⇒ Numeric?
readonly
The number of IPv4 prefixes to be automatically assigned to the network interface.
-
#ipv4_prefixes ⇒ AWSCDK::IResolvable, ...
readonly
One or more IPv4 prefixes to be assigned to the network interface.
-
#ipv6_address_count ⇒ Numeric?
readonly
The number of IPv6 addresses to assign to a network interface.
-
#ipv6_addresses ⇒ AWSCDK::IResolvable, ...
readonly
One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet.
-
#ipv6_prefix_count ⇒ Numeric?
readonly
The number of IPv6 prefixes to be automatically assigned to the network interface.
-
#ipv6_prefixes ⇒ AWSCDK::IResolvable, ...
readonly
One or more IPv6 prefixes to be assigned to the network interface.
-
#network_card_index ⇒ Numeric?
readonly
The index of the network card.
-
#network_interface_id ⇒ String?
readonly
The ID of the network interface.
-
#primary_ipv6 ⇒ Boolean, ...
readonly
The primary IPv6 address of the network interface.
-
#private_ip_address ⇒ String?
readonly
The primary private IPv4 address of the network interface.
-
#private_ip_addresses ⇒ AWSCDK::IResolvable, ...
readonly
One or more private IPv4 addresses.
-
#secondary_private_ip_address_count ⇒ Numeric?
readonly
The number of secondary private IPv4 addresses to assign to a network interface.
-
#subnet_id ⇒ String?
readonly
The ID of the subnet for the network interface.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(associate_carrier_ip_address: nil, associate_public_ip_address: nil, connection_tracking_specification: nil, delete_on_termination: nil, description: nil, device_index: nil, ena_queue_count: nil, ena_srd_specification: nil, groups: nil, interface_type: nil, ipv4_prefix_count: nil, ipv4_prefixes: nil, ipv6_address_count: nil, ipv6_addresses: nil, ipv6_prefix_count: nil, ipv6_prefixes: nil, network_card_index: nil, network_interface_id: nil, primary_ipv6: nil, private_ip_address: nil, private_ip_addresses: nil, secondary_private_ip_address_count: nil, subnet_id: nil) ⇒ NetworkInterfaceProperty
constructor
A new instance of NetworkInterfaceProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(associate_carrier_ip_address: nil, associate_public_ip_address: nil, connection_tracking_specification: nil, delete_on_termination: nil, description: nil, device_index: nil, ena_queue_count: nil, ena_srd_specification: nil, groups: nil, interface_type: nil, ipv4_prefix_count: nil, ipv4_prefixes: nil, ipv6_address_count: nil, ipv6_addresses: nil, ipv6_prefix_count: nil, ipv6_prefixes: nil, network_card_index: nil, network_interface_id: nil, primary_ipv6: nil, private_ip_address: nil, private_ip_addresses: nil, secondary_private_ip_address_count: nil, subnet_id: nil) ⇒ NetworkInterfaceProperty
Returns a new instance of NetworkInterfaceProperty.
3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 |
# File 'ec2/cfn_launch_template.rb', line 3053 def initialize(associate_carrier_ip_address: nil, associate_public_ip_address: nil, connection_tracking_specification: nil, delete_on_termination: nil, description: nil, device_index: nil, ena_queue_count: nil, ena_srd_specification: nil, groups: nil, interface_type: nil, ipv4_prefix_count: nil, ipv4_prefixes: nil, ipv6_address_count: nil, ipv6_addresses: nil, ipv6_prefix_count: nil, ipv6_prefixes: nil, network_card_index: nil, network_interface_id: nil, primary_ipv6: nil, private_ip_address: nil, private_ip_addresses: nil, secondary_private_ip_address_count: nil, subnet_id: nil) @associate_carrier_ip_address = associate_carrier_ip_address Jsii::Type.check_type(@associate_carrier_ip_address, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "associateCarrierIpAddress") unless @associate_carrier_ip_address.nil? @associate_public_ip_address = associate_public_ip_address Jsii::Type.check_type(@associate_public_ip_address, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "associatePublicIpAddress") unless @associate_public_ip_address.nil? @connection_tracking_specification = connection_tracking_specification.is_a?(Hash) ? ::AWSCDK::EC2::CfnLaunchTemplate::ConnectionTrackingSpecificationProperty.new(**connection_tracking_specification.transform_keys(&:to_sym)) : connection_tracking_specification Jsii::Type.check_type(@connection_tracking_specification, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19lYzIuQ2ZuTGF1bmNoVGVtcGxhdGUuQ29ubmVjdGlvblRyYWNraW5nU3BlY2lmaWNhdGlvblByb3BlcnR5In1dfX0=")), "connectionTrackingSpecification") unless @connection_tracking_specification.nil? @delete_on_termination = delete_on_termination Jsii::Type.check_type(@delete_on_termination, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "deleteOnTermination") unless @delete_on_termination.nil? @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? @device_index = device_index Jsii::Type.check_type(@device_index, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "deviceIndex") unless @device_index.nil? @ena_queue_count = ena_queue_count Jsii::Type.check_type(@ena_queue_count, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "enaQueueCount") unless @ena_queue_count.nil? @ena_srd_specification = ena_srd_specification.is_a?(Hash) ? ::AWSCDK::EC2::CfnLaunchTemplate::EnaSrdSpecificationProperty.new(**ena_srd_specification.transform_keys(&:to_sym)) : ena_srd_specification Jsii::Type.check_type(@ena_srd_specification, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19lYzIuQ2ZuTGF1bmNoVGVtcGxhdGUuRW5hU3JkU3BlY2lmaWNhdGlvblByb3BlcnR5In1dfX0=")), "enaSrdSpecification") unless @ena_srd_specification.nil? @groups = groups Jsii::Type.check_type(@groups, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "groups") unless @groups.nil? @interface_type = interface_type Jsii::Type.check_type(@interface_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "interfaceType") unless @interface_type.nil? @ipv4_prefix_count = ipv4_prefix_count Jsii::Type.check_type(@ipv4_prefix_count, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "ipv4PrefixCount") unless @ipv4_prefix_count.nil? @ipv4_prefixes = ipv4_prefixes Jsii::Type.check_type(@ipv4_prefixes, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWMyLkNmbkxhdW5jaFRlbXBsYXRlLklwdjRQcmVmaXhTcGVjaWZpY2F0aW9uUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "ipv4Prefixes") unless @ipv4_prefixes.nil? @ipv6_address_count = ipv6_address_count Jsii::Type.check_type(@ipv6_address_count, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "ipv6AddressCount") unless @ipv6_address_count.nil? @ipv6_addresses = ipv6_addresses Jsii::Type.check_type(@ipv6_addresses, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWMyLkNmbkxhdW5jaFRlbXBsYXRlLklwdjZBZGRQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "ipv6Addresses") unless @ipv6_addresses.nil? @ipv6_prefix_count = ipv6_prefix_count Jsii::Type.check_type(@ipv6_prefix_count, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "ipv6PrefixCount") unless @ipv6_prefix_count.nil? @ipv6_prefixes = ipv6_prefixes Jsii::Type.check_type(@ipv6_prefixes, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWMyLkNmbkxhdW5jaFRlbXBsYXRlLklwdjZQcmVmaXhTcGVjaWZpY2F0aW9uUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "ipv6Prefixes") unless @ipv6_prefixes.nil? @network_card_index = network_card_index Jsii::Type.check_type(@network_card_index, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "networkCardIndex") unless @network_card_index.nil? @network_interface_id = network_interface_id Jsii::Type.check_type(@network_interface_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "networkInterfaceId") unless @network_interface_id.nil? @primary_ipv6 = primary_ipv6 Jsii::Type.check_type(@primary_ipv6, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "primaryIpv6") unless @primary_ipv6.nil? @private_ip_address = private_ip_address Jsii::Type.check_type(@private_ip_address, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "privateIpAddress") unless @private_ip_address.nil? @private_ip_addresses = private_ip_addresses Jsii::Type.check_type(@private_ip_addresses, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWMyLkNmbkxhdW5jaFRlbXBsYXRlLlByaXZhdGVJcEFkZFByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "privateIpAddresses") unless @private_ip_addresses.nil? @secondary_private_ip_address_count = secondary_private_ip_address_count Jsii::Type.check_type(@secondary_private_ip_address_count, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "secondaryPrivateIpAddressCount") unless @secondary_private_ip_address_count.nil? @subnet_id = subnet_id Jsii::Type.check_type(@subnet_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "subnetId") unless @subnet_id.nil? end |
Instance Attribute Details
#associate_carrier_ip_address ⇒ Boolean, ... (readonly)
Associates a Carrier IP address with eth0 for a new network interface.
Use this option when you launch an instance in a Wavelength Zone and want to associate a Carrier IP address with the network interface. For more information about Carrier IP addresses, see Carrier IP addresses in the AWS Wavelength Developer Guide .
3108 3109 3110 |
# File 'ec2/cfn_launch_template.rb', line 3108 def associate_carrier_ip_address @associate_carrier_ip_address end |
#associate_public_ip_address ⇒ Boolean, ... (readonly)
Associates a public IPv4 address with eth0 for a new network interface.
AWS charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page .
3115 3116 3117 |
# File 'ec2/cfn_launch_template.rb', line 3115 def associate_public_ip_address @associate_public_ip_address end |
#connection_tracking_specification ⇒ AWSCDK::IResolvable, ... (readonly)
A connection tracking specification for the network interface.
3120 3121 3122 |
# File 'ec2/cfn_launch_template.rb', line 3120 def connection_tracking_specification @connection_tracking_specification end |
#delete_on_termination ⇒ Boolean, ... (readonly)
Indicates whether the network interface is deleted when the instance is terminated.
3125 3126 3127 |
# File 'ec2/cfn_launch_template.rb', line 3125 def delete_on_termination @delete_on_termination end |
#description ⇒ String? (readonly)
A description for the network interface.
3130 3131 3132 |
# File 'ec2/cfn_launch_template.rb', line 3130 def description @description end |
#device_index ⇒ Numeric? (readonly)
The device index for the network interface attachment.
The primary network interface has a device index of 0. If the network interface is of type interface , you must specify a device index.
If you create a launch template that includes secondary network interfaces but no primary network interface, and you specify it using the LaunchTemplate property of AWS::EC2::Instance , then you must include a primary network interface using the NetworkInterfaces property of AWS::EC2::Instance .
3139 3140 3141 |
# File 'ec2/cfn_launch_template.rb', line 3139 def device_index @device_index end |
#ena_queue_count ⇒ Numeric? (readonly)
The number of ENA queues to be created with the instance.
3144 3145 3146 |
# File 'ec2/cfn_launch_template.rb', line 3144 def ena_queue_count @ena_queue_count end |
#ena_srd_specification ⇒ AWSCDK::IResolvable, ... (readonly)
The ENA Express configuration for the network interface.
3149 3150 3151 |
# File 'ec2/cfn_launch_template.rb', line 3149 def ena_srd_specification @ena_srd_specification end |
#groups ⇒ Array<String>? (readonly)
The IDs of one or more security groups.
3154 3155 3156 |
# File 'ec2/cfn_launch_template.rb', line 3154 def groups @groups end |
#interface_type ⇒ String? (readonly)
The type of network interface.
To create an Elastic Fabric Adapter (EFA), specify efa or efa . For more information, see Elastic Fabric Adapter for AI/ML and HPC workloads on Amazon EC2 in the Amazon EC2 User Guide .
If you are not creating an EFA, specify interface or omit this parameter.
If you specify efa-only , do not assign any IP addresses to the network interface. EFA-only network interfaces do not support IP addresses.
Valid values: interface | efa | efa-only
3167 3168 3169 |
# File 'ec2/cfn_launch_template.rb', line 3167 def interface_type @interface_type end |
#ipv4_prefix_count ⇒ Numeric? (readonly)
The number of IPv4 prefixes to be automatically assigned to the network interface.
You cannot use this option if you use the Ipv4Prefix option.
3174 3175 3176 |
# File 'ec2/cfn_launch_template.rb', line 3174 def ipv4_prefix_count @ipv4_prefix_count end |
#ipv4_prefixes ⇒ AWSCDK::IResolvable, ... (readonly)
One or more IPv4 prefixes to be assigned to the network interface.
You cannot use this option if you use the Ipv4PrefixCount option.
3181 3182 3183 |
# File 'ec2/cfn_launch_template.rb', line 3181 def ipv4_prefixes @ipv4_prefixes end |
#ipv6_address_count ⇒ Numeric? (readonly)
The number of IPv6 addresses to assign to a network interface.
Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses.
3188 3189 3190 |
# File 'ec2/cfn_launch_template.rb', line 3188 def ipv6_address_count @ipv6_address_count end |
#ipv6_addresses ⇒ AWSCDK::IResolvable, ... (readonly)
One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet.
You can't use this option if you're specifying a number of IPv6 addresses.
3195 3196 3197 |
# File 'ec2/cfn_launch_template.rb', line 3195 def ipv6_addresses @ipv6_addresses end |
#ipv6_prefix_count ⇒ Numeric? (readonly)
The number of IPv6 prefixes to be automatically assigned to the network interface.
You cannot use this option if you use the Ipv6Prefix option.
3202 3203 3204 |
# File 'ec2/cfn_launch_template.rb', line 3202 def ipv6_prefix_count @ipv6_prefix_count end |
#ipv6_prefixes ⇒ AWSCDK::IResolvable, ... (readonly)
One or more IPv6 prefixes to be assigned to the network interface.
You cannot use this option if you use the Ipv6PrefixCount option.
3209 3210 3211 |
# File 'ec2/cfn_launch_template.rb', line 3209 def ipv6_prefixes @ipv6_prefixes end |
#network_card_index ⇒ Numeric? (readonly)
The index of the network card.
Some instance types support multiple network cards. The primary network interface must be assigned to network card index 0. The default is network card index 0.
3216 3217 3218 |
# File 'ec2/cfn_launch_template.rb', line 3216 def network_card_index @network_card_index end |
#network_interface_id ⇒ String? (readonly)
The ID of the network interface.
3221 3222 3223 |
# File 'ec2/cfn_launch_template.rb', line 3221 def network_interface_id @network_interface_id end |
#primary_ipv6 ⇒ Boolean, ... (readonly)
The primary IPv6 address of the network interface.
When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. For more information about primary IPv6 addresses, see RunInstances .
3228 3229 3230 |
# File 'ec2/cfn_launch_template.rb', line 3228 def primary_ipv6 @primary_ipv6 end |
#private_ip_address ⇒ String? (readonly)
The primary private IPv4 address of the network interface.
3233 3234 3235 |
# File 'ec2/cfn_launch_template.rb', line 3233 def private_ip_address @private_ip_address end |
#private_ip_addresses ⇒ AWSCDK::IResolvable, ... (readonly)
One or more private IPv4 addresses.
3238 3239 3240 |
# File 'ec2/cfn_launch_template.rb', line 3238 def private_ip_addresses @private_ip_addresses end |
#secondary_private_ip_address_count ⇒ Numeric? (readonly)
The number of secondary private IPv4 addresses to assign to a network interface.
3243 3244 3245 |
# File 'ec2/cfn_launch_template.rb', line 3243 def secondary_private_ip_address_count @secondary_private_ip_address_count end |
#subnet_id ⇒ String? (readonly)
The ID of the subnet for the network interface.
3248 3249 3250 |
# File 'ec2/cfn_launch_template.rb', line 3248 def subnet_id @subnet_id end |
Class Method Details
.jsii_properties ⇒ Object
3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 |
# File 'ec2/cfn_launch_template.rb', line 3250 def self.jsii_properties { :associate_carrier_ip_address => "associateCarrierIpAddress", :associate_public_ip_address => "associatePublicIpAddress", :connection_tracking_specification => "connectionTrackingSpecification", :delete_on_termination => "deleteOnTermination", :description => "description", :device_index => "deviceIndex", :ena_queue_count => "enaQueueCount", :ena_srd_specification => "enaSrdSpecification", :groups => "groups", :interface_type => "interfaceType", :ipv4_prefix_count => "ipv4PrefixCount", :ipv4_prefixes => "ipv4Prefixes", :ipv6_address_count => "ipv6AddressCount", :ipv6_addresses => "ipv6Addresses", :ipv6_prefix_count => "ipv6PrefixCount", :ipv6_prefixes => "ipv6Prefixes", :network_card_index => "networkCardIndex", :network_interface_id => "networkInterfaceId", :primary_ipv6 => "primaryIpv6", :private_ip_address => "privateIpAddress", :private_ip_addresses => "privateIpAddresses", :secondary_private_ip_address_count => "secondaryPrivateIpAddressCount", :subnet_id => "subnetId", } end |
Instance Method Details
#to_jsii ⇒ Object
3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 |
# File 'ec2/cfn_launch_template.rb', line 3278 def to_jsii result = {} result.merge!({ "associateCarrierIpAddress" => @associate_carrier_ip_address, "associatePublicIpAddress" => @associate_public_ip_address, "connectionTrackingSpecification" => @connection_tracking_specification, "deleteOnTermination" => @delete_on_termination, "description" => @description, "deviceIndex" => @device_index, "enaQueueCount" => @ena_queue_count, "enaSrdSpecification" => @ena_srd_specification, "groups" => @groups, "interfaceType" => @interface_type, "ipv4PrefixCount" => @ipv4_prefix_count, "ipv4Prefixes" => @ipv4_prefixes, "ipv6AddressCount" => @ipv6_address_count, "ipv6Addresses" => @ipv6_addresses, "ipv6PrefixCount" => @ipv6_prefix_count, "ipv6Prefixes" => @ipv6_prefixes, "networkCardIndex" => @network_card_index, "networkInterfaceId" => @network_interface_id, "primaryIpv6" => @primary_ipv6, "privateIpAddress" => @private_ip_address, "privateIpAddresses" => @private_ip_addresses, "secondaryPrivateIpAddressCount" => @secondary_private_ip_address_count, "subnetId" => @subnet_id, }) result.compact end |