Class: AWSCDK::Interfaces::AWSCognito::IdentityPoolPrincipalTagReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_cognito/identity_pool_principal_tag_reference.rb

Overview

A reference to a IdentityPoolPrincipalTag resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(identity_pool_id:, identity_provider_name:) ⇒ IdentityPoolPrincipalTagReference

Returns a new instance of IdentityPoolPrincipalTagReference.

Parameters:

  • identity_pool_id (String)

    The IdentityPoolId of the IdentityPoolPrincipalTag resource.

  • identity_provider_name (String)

    The IdentityProviderName of the IdentityPoolPrincipalTag resource.



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_idString (readonly)

The IdentityPoolId of the IdentityPoolPrincipalTag resource.

Returns:

  • (String)


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_nameString (readonly)

The IdentityProviderName of the IdentityPoolPrincipalTag resource.

Returns:

  • (String)


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_propertiesObject



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_jsiiObject



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