Class: AWSCDK::APIGateway::CfnDomainNameAccessAssociationProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::APIGateway::CfnDomainNameAccessAssociationProps
- Defined in:
- api_gateway/cfn_domain_name_access_association_props.rb
Overview
Properties for defining a CfnDomainNameAccessAssociation.
Instance Attribute Summary collapse
-
#access_association_source ⇒ String
readonly
The identifier of the domain name access association source.
-
#access_association_source_type ⇒ String
readonly
The type of the domain name access association source.
-
#domain_name_arn ⇒ String
readonly
The ARN of the domain name.
-
#tags ⇒ Array<AWSCDK::CfnTag>?
readonly
The collection of tags.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(access_association_source:, access_association_source_type:, domain_name_arn:, tags: nil) ⇒ CfnDomainNameAccessAssociationProps
constructor
A new instance of CfnDomainNameAccessAssociationProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(access_association_source:, access_association_source_type:, domain_name_arn:, tags: nil) ⇒ CfnDomainNameAccessAssociationProps
Returns a new instance of CfnDomainNameAccessAssociationProps.
13 14 15 16 17 18 19 20 21 22 |
# File 'api_gateway/cfn_domain_name_access_association_props.rb', line 13 def initialize(access_association_source:, access_association_source_type:, domain_name_arn:, tags: nil) @access_association_source = access_association_source Jsii::Type.check_type(@access_association_source, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "accessAssociationSource") @access_association_source_type = access_association_source_type Jsii::Type.check_type(@access_association_source_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "accessAssociationSourceType") @domain_name_arn = domain_name_arn Jsii::Type.check_type(@domain_name_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "domainNameArn") @tags = .is_a?(Array) ? .map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::CfnTag.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLkNmblRhZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "tags") unless @tags.nil? end |
Instance Attribute Details
#access_association_source ⇒ String (readonly)
The identifier of the domain name access association source.
For a VPCE , the value is the VPC endpoint ID.
30 31 32 |
# File 'api_gateway/cfn_domain_name_access_association_props.rb', line 30 def access_association_source @access_association_source end |
#access_association_source_type ⇒ String (readonly)
The type of the domain name access association source.
Only VPCE is currently supported.
37 38 39 |
# File 'api_gateway/cfn_domain_name_access_association_props.rb', line 37 def access_association_source_type @access_association_source_type end |
#domain_name_arn ⇒ String (readonly)
The ARN of the domain name.
42 43 44 |
# File 'api_gateway/cfn_domain_name_access_association_props.rb', line 42 def domain_name_arn @domain_name_arn end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
The collection of tags.
Each tag element is associated with a given resource.
49 50 51 |
# File 'api_gateway/cfn_domain_name_access_association_props.rb', line 49 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
51 52 53 54 55 56 57 58 |
# File 'api_gateway/cfn_domain_name_access_association_props.rb', line 51 def self.jsii_properties { :access_association_source => "accessAssociationSource", :access_association_source_type => "accessAssociationSourceType", :domain_name_arn => "domainNameArn", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
60 61 62 63 64 65 66 67 68 69 |
# File 'api_gateway/cfn_domain_name_access_association_props.rb', line 60 def to_jsii result = {} result.merge!({ "accessAssociationSource" => @access_association_source, "accessAssociationSourceType" => @access_association_source_type, "domainNameArn" => @domain_name_arn, "tags" => @tags, }) result.compact end |