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