Class: AWSCDK::Transfer::CfnWebApp::EndpointDetailsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Transfer::CfnWebApp::EndpointDetailsProperty
- Defined in:
- transfer/cfn_web_app.rb
Overview
Instance Attribute Summary collapse
-
#vpc ⇒ AWSCDK::IResolvable, ...
readonly
You can provide a structure that contains the details for the VPC endpoint to use with your web app.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(vpc: nil) ⇒ EndpointDetailsProperty
constructor
A new instance of EndpointDetailsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(vpc: nil) ⇒ EndpointDetailsProperty
Returns a new instance of EndpointDetailsProperty.
623 624 625 626 |
# File 'transfer/cfn_web_app.rb', line 623 def initialize(vpc: nil) @vpc = vpc.is_a?(Hash) ? ::AWSCDK::Transfer::CfnWebApp::VPCProperty.new(**vpc.transform_keys(&:to_sym)) : vpc Jsii::Type.check_type(@vpc, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c190cmFuc2Zlci5DZm5XZWJBcHAuVnBjUHJvcGVydHkifV19fQ==")), "vpc") unless @vpc.nil? end |
Instance Attribute Details
#vpc ⇒ AWSCDK::IResolvable, ... (readonly)
You can provide a structure that contains the details for the VPC endpoint to use with your web app.
632 633 634 |
# File 'transfer/cfn_web_app.rb', line 632 def vpc @vpc end |
Class Method Details
.jsii_properties ⇒ Object
634 635 636 637 638 |
# File 'transfer/cfn_web_app.rb', line 634 def self.jsii_properties { :vpc => "vpc", } end |
Instance Method Details
#to_jsii ⇒ Object
640 641 642 643 644 645 646 |
# File 'transfer/cfn_web_app.rb', line 640 def to_jsii result = {} result.merge!({ "vpc" => @vpc, }) result.compact end |