Class: AWSCDK::Interfaces::AWSCognito::IdentityPoolReference

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

Overview

A reference to a IdentityPool resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(identity_pool_id:) ⇒ IdentityPoolReference

Returns a new instance of IdentityPoolReference.

Parameters:

  • identity_pool_id (String)

    The Id of the IdentityPool resource.



8
9
10
11
# File 'interfaces/aws_cognito/identity_pool_reference.rb', line 8

def initialize(identity_pool_id:)
  @identity_pool_id = identity_pool_id
  Jsii::Type.check_type(@identity_pool_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "identityPoolId")
end

Instance Attribute Details

#identity_pool_idString (readonly)

The Id of the IdentityPool resource.

Returns:

  • (String)


16
17
18
# File 'interfaces/aws_cognito/identity_pool_reference.rb', line 16

def identity_pool_id
  @identity_pool_id
end

Class Method Details

.jsii_propertiesObject



18
19
20
21
22
# File 'interfaces/aws_cognito/identity_pool_reference.rb', line 18

def self.jsii_properties
  {
    :identity_pool_id => "identityPoolId",
  }
end

Instance Method Details

#to_jsiiObject



24
25
26
27
28
29
30
# File 'interfaces/aws_cognito/identity_pool_reference.rb', line 24

def to_jsii
  result = {}
  result.merge!({
    "identityPoolId" => @identity_pool_id,
  })
  result.compact
end