Class: AWSCDK::AppRunner::CfnVPCIngressConnection::IngressVPCConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppRunner::CfnVPCIngressConnection::IngressVPCConfigurationProperty
- Defined in:
- app_runner/cfn_vpc_ingress_connection.rb
Overview
Specifications for the customer’s VPC and related PrivateLink VPC endpoint that are used to associate with the VPC Ingress Connection resource.
Instance Attribute Summary collapse
-
#vpc_endpoint_id ⇒ String
readonly
The ID of the VPC endpoint that your App Runner service connects to.
-
#vpc_id ⇒ String
readonly
The ID of the VPC that is used for the VPC endpoint.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(vpc_endpoint_id:, vpc_id:) ⇒ IngressVPCConfigurationProperty
constructor
A new instance of IngressVPCConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(vpc_endpoint_id:, vpc_id:) ⇒ IngressVPCConfigurationProperty
Returns a new instance of IngressVPCConfigurationProperty.
580 581 582 583 584 585 |
# File 'app_runner/cfn_vpc_ingress_connection.rb', line 580 def initialize(vpc_endpoint_id:, vpc_id:) @vpc_endpoint_id = vpc_endpoint_id Jsii::Type.check_type(@vpc_endpoint_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "vpcEndpointId") @vpc_id = vpc_id Jsii::Type.check_type(@vpc_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "vpcId") end |
Instance Attribute Details
#vpc_endpoint_id ⇒ String (readonly)
The ID of the VPC endpoint that your App Runner service connects to.
591 592 593 |
# File 'app_runner/cfn_vpc_ingress_connection.rb', line 591 def vpc_endpoint_id @vpc_endpoint_id end |
#vpc_id ⇒ String (readonly)
The ID of the VPC that is used for the VPC endpoint.
596 597 598 |
# File 'app_runner/cfn_vpc_ingress_connection.rb', line 596 def vpc_id @vpc_id end |
Class Method Details
.jsii_properties ⇒ Object
598 599 600 601 602 603 |
# File 'app_runner/cfn_vpc_ingress_connection.rb', line 598 def self.jsii_properties { :vpc_endpoint_id => "vpcEndpointId", :vpc_id => "vpcId", } end |
Instance Method Details
#to_jsii ⇒ Object
605 606 607 608 609 610 611 612 |
# File 'app_runner/cfn_vpc_ingress_connection.rb', line 605 def to_jsii result = {} result.merge!({ "vpcEndpointId" => @vpc_endpoint_id, "vpcId" => @vpc_id, }) result.compact end |