Class: AWSCDK::Lambda::CfnNetworkConnector::ConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Lambda::CfnNetworkConnector::ConfigProperty
- Defined in:
- lambda/cfn_network_connector.rb
Overview
The network configuration for the connector.
Specify a VpcEgressConfiguration to enable outbound traffic routing through your VPC.
Instance Attribute Summary collapse
-
#vpc_egress_configuration ⇒ AWSCDK::IResolvable, AWSCDK::Lambda::CfnNetworkConnector::VPCEgressConfigurationProperty
readonly
The VPC egress configuration for the network connector.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(vpc_egress_configuration:) ⇒ ConfigProperty
constructor
A new instance of ConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(vpc_egress_configuration:) ⇒ ConfigProperty
Returns a new instance of ConfigProperty.
567 568 569 570 |
# File 'lambda/cfn_network_connector.rb', line 567 def initialize(vpc_egress_configuration:) @vpc_egress_configuration = vpc_egress_configuration.is_a?(Hash) ? ::AWSCDK::Lambda::CfnNetworkConnector::VPCEgressConfigurationProperty.new(**vpc_egress_configuration.transform_keys(&:to_sym)) : vpc_egress_configuration Jsii::Type.check_type(@vpc_egress_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19sYW1iZGEuQ2ZuTmV0d29ya0Nvbm5lY3Rvci5WcGNFZ3Jlc3NDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "vpcEgressConfiguration") end |
Instance Attribute Details
#vpc_egress_configuration ⇒ AWSCDK::IResolvable, AWSCDK::Lambda::CfnNetworkConnector::VPCEgressConfigurationProperty (readonly)
The VPC egress configuration for the network connector.
Specifies the subnets, security groups, and network protocol for routing outbound traffic through your VPC.
578 579 580 |
# File 'lambda/cfn_network_connector.rb', line 578 def vpc_egress_configuration @vpc_egress_configuration end |
Class Method Details
.jsii_properties ⇒ Object
580 581 582 583 584 |
# File 'lambda/cfn_network_connector.rb', line 580 def self.jsii_properties { :vpc_egress_configuration => "vpcEgressConfiguration", } end |
Instance Method Details
#to_jsii ⇒ Object
586 587 588 589 590 591 592 |
# File 'lambda/cfn_network_connector.rb', line 586 def to_jsii result = {} result.merge!({ "vpcEgressConfiguration" => @vpc_egress_configuration, }) result.compact end |