Class: AWSCDK::MPA::CfnIdentitySource::IAMIdentityCenterProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
mpa/cfn_identity_source.rb

Overview

SSOlong credentials.

For more information see, SSOlong .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instance_arn:, region:, approval_portal_url: nil) ⇒ IAMIdentityCenterProperty

Returns a new instance of IAMIdentityCenterProperty.

Parameters:

  • instance_arn (String)

    Amazon Resource Name (ARN) for the IAM Identity Center instance.

  • region (String)

    AWS Region where the IAM Identity Center instance is located.

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

    URL for the approval portal associated with the IAM Identity Center instance.



589
590
591
592
593
594
595
596
# File 'mpa/cfn_identity_source.rb', line 589

def initialize(instance_arn:, region:, approval_portal_url: nil)
  @instance_arn = instance_arn
  Jsii::Type.check_type(@instance_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "instanceArn")
  @region = region
  Jsii::Type.check_type(@region, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "region")
  @approval_portal_url = approval_portal_url
  Jsii::Type.check_type(@approval_portal_url, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "approvalPortalUrl") unless @approval_portal_url.nil?
end

Instance Attribute Details

#approval_portal_urlString? (readonly)

URL for the approval portal associated with the IAM Identity Center instance.



612
613
614
# File 'mpa/cfn_identity_source.rb', line 612

def approval_portal_url
  @approval_portal_url
end

#instance_arnString (readonly)

Amazon Resource Name (ARN) for the IAM Identity Center instance.



602
603
604
# File 'mpa/cfn_identity_source.rb', line 602

def instance_arn
  @instance_arn
end

#regionString (readonly)

AWS Region where the IAM Identity Center instance is located.



607
608
609
# File 'mpa/cfn_identity_source.rb', line 607

def region
  @region
end

Class Method Details

.jsii_propertiesObject



614
615
616
617
618
619
620
# File 'mpa/cfn_identity_source.rb', line 614

def self.jsii_properties
  {
    :instance_arn => "instanceArn",
    :region => "region",
    :approval_portal_url => "approvalPortalUrl",
  }
end

Instance Method Details

#to_jsiiObject



622
623
624
625
626
627
628
629
630
# File 'mpa/cfn_identity_source.rb', line 622

def to_jsii
  result = {}
  result.merge!({
    "instanceArn" => @instance_arn,
    "region" => @region,
    "approvalPortalUrl" => @approval_portal_url,
  })
  result.compact
end