Class: AWSCDK::Interfaces::AWSAppsync::DomainNameAPIAssociationReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_appsync/domain_name_api_association_reference.rb

Overview

A reference to a DomainNameApiAssociation resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(api_association_identifier:) ⇒ DomainNameAPIAssociationReference

Returns a new instance of DomainNameAPIAssociationReference.

Parameters:

  • api_association_identifier (String)

    The ApiAssociationIdentifier of the DomainNameApiAssociation resource.



8
9
10
11
# File 'interfaces/aws_appsync/domain_name_api_association_reference.rb', line 8

def initialize(api_association_identifier:)
  @api_association_identifier = api_association_identifier
  Jsii::Type.check_type(@api_association_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "apiAssociationIdentifier")
end

Instance Attribute Details

#api_association_identifierString (readonly)

The ApiAssociationIdentifier of the DomainNameApiAssociation resource.

Returns:

  • (String)


16
17
18
# File 'interfaces/aws_appsync/domain_name_api_association_reference.rb', line 16

def api_association_identifier
  @api_association_identifier
end

Class Method Details

.jsii_propertiesObject



18
19
20
21
22
# File 'interfaces/aws_appsync/domain_name_api_association_reference.rb', line 18

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

Instance Method Details

#to_jsiiObject



24
25
26
27
28
29
30
# File 'interfaces/aws_appsync/domain_name_api_association_reference.rb', line 24

def to_jsii
  result = {}
  result.merge!({
    "apiAssociationIdentifier" => @api_association_identifier,
  })
  result.compact
end