Class: AWSCDK::Cognito::CfnUserPoolDomain::CustomDomainConfigTypeProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
cognito/cfn_user_pool_domain.rb

Overview

The configuration for a hosted UI custom domain.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(certificate_arn: nil) ⇒ CustomDomainConfigTypeProperty

Returns a new instance of CustomDomainConfigTypeProperty.

Parameters:

  • certificate_arn (String, nil) (defaults to: nil)

    The Amazon Resource Name (ARN) of an Certificate Manager SSL certificate.



552
553
554
555
# File 'cognito/cfn_user_pool_domain.rb', line 552

def initialize(certificate_arn: nil)
  @certificate_arn = certificate_arn
  Jsii::Type.check_type(@certificate_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "certificateArn") unless @certificate_arn.nil?
end

Instance Attribute Details

#certificate_arnString? (readonly)

The Amazon Resource Name (ARN) of an Certificate Manager SSL certificate.

You use this certificate for the subdomain of your custom domain.



563
564
565
# File 'cognito/cfn_user_pool_domain.rb', line 563

def certificate_arn
  @certificate_arn
end

Class Method Details

.jsii_propertiesObject



565
566
567
568
569
# File 'cognito/cfn_user_pool_domain.rb', line 565

def self.jsii_properties
  {
    :certificate_arn => "certificateArn",
  }
end

Instance Method Details

#to_jsiiObject



571
572
573
574
575
576
577
# File 'cognito/cfn_user_pool_domain.rb', line 571

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