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