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