Class: AWSCDK::Interfaces::AWSRoute53Profiles::ProfileResourceAssociationReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSRoute53Profiles::ProfileResourceAssociationReference
- Defined in:
- interfaces/aws_route53_profiles/profile_resource_association_reference.rb
Overview
A reference to a ProfileResourceAssociation resource.
Instance Attribute Summary collapse
-
#profile_resource_association_id ⇒ String
readonly
The Id of the ProfileResourceAssociation resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(profile_resource_association_id:) ⇒ ProfileResourceAssociationReference
constructor
A new instance of ProfileResourceAssociationReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(profile_resource_association_id:) ⇒ ProfileResourceAssociationReference
Returns a new instance of ProfileResourceAssociationReference.
8 9 10 11 |
# File 'interfaces/aws_route53_profiles/profile_resource_association_reference.rb', line 8 def initialize(profile_resource_association_id:) @profile_resource_association_id = profile_resource_association_id Jsii::Type.check_type(@profile_resource_association_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "profileResourceAssociationId") end |
Instance Attribute Details
#profile_resource_association_id ⇒ String (readonly)
The Id of the ProfileResourceAssociation resource.
16 17 18 |
# File 'interfaces/aws_route53_profiles/profile_resource_association_reference.rb', line 16 def profile_resource_association_id @profile_resource_association_id end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'interfaces/aws_route53_profiles/profile_resource_association_reference.rb', line 18 def self.jsii_properties { :profile_resource_association_id => "profileResourceAssociationId", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'interfaces/aws_route53_profiles/profile_resource_association_reference.rb', line 24 def to_jsii result = {} result.merge!({ "profileResourceAssociationId" => @profile_resource_association_id, }) result.compact end |