Class: AWSCDK::Interfaces::AWSCognito::IdentityPoolPrincipalTagReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSCognito::IdentityPoolPrincipalTagReference
- Defined in:
- interfaces/aws_cognito/identity_pool_principal_tag_reference.rb
Overview
A reference to a IdentityPoolPrincipalTag resource.
Instance Attribute Summary collapse
-
#identity_pool_id ⇒ String
readonly
The IdentityPoolId of the IdentityPoolPrincipalTag resource.
-
#identity_provider_name ⇒ String
readonly
The IdentityProviderName of the IdentityPoolPrincipalTag resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(identity_pool_id:, identity_provider_name:) ⇒ IdentityPoolPrincipalTagReference
constructor
A new instance of IdentityPoolPrincipalTagReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(identity_pool_id:, identity_provider_name:) ⇒ IdentityPoolPrincipalTagReference
Returns a new instance of IdentityPoolPrincipalTagReference.
9 10 11 12 13 14 |
# File 'interfaces/aws_cognito/identity_pool_principal_tag_reference.rb', line 9 def initialize(identity_pool_id:, identity_provider_name:) @identity_pool_id = identity_pool_id Jsii::Type.check_type(@identity_pool_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "identityPoolId") @identity_provider_name = identity_provider_name Jsii::Type.check_type(@identity_provider_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "identityProviderName") end |
Instance Attribute Details
#identity_pool_id ⇒ String (readonly)
The IdentityPoolId of the IdentityPoolPrincipalTag resource.
19 20 21 |
# File 'interfaces/aws_cognito/identity_pool_principal_tag_reference.rb', line 19 def identity_pool_id @identity_pool_id end |
#identity_provider_name ⇒ String (readonly)
The IdentityProviderName of the IdentityPoolPrincipalTag resource.
23 24 25 |
# File 'interfaces/aws_cognito/identity_pool_principal_tag_reference.rb', line 23 def identity_provider_name @identity_provider_name end |
Class Method Details
.jsii_properties ⇒ Object
25 26 27 28 29 30 |
# File 'interfaces/aws_cognito/identity_pool_principal_tag_reference.rb', line 25 def self.jsii_properties { :identity_pool_id => "identityPoolId", :identity_provider_name => "identityProviderName", } end |
Instance Method Details
#to_jsii ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'interfaces/aws_cognito/identity_pool_principal_tag_reference.rb', line 32 def to_jsii result = {} result.merge!({ "identityPoolId" => @identity_pool_id, "identityProviderName" => @identity_provider_name, }) result.compact end |