Class: AWSCDK::Transfer::CfnWebApp::EndpointDetailsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
transfer/cfn_web_app.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(vpc: nil) ⇒ EndpointDetailsProperty

Returns a new instance of EndpointDetailsProperty.

Parameters:



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

#vpcAWSCDK::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_propertiesObject



634
635
636
637
638
# File 'transfer/cfn_web_app.rb', line 634

def self.jsii_properties
  {
    :vpc => "vpc",
  }
end

Instance Method Details

#to_jsiiObject



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