Class: AWSCDK::Transfer::CfnWebApp::IdentityProviderDetailsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
transfer/cfn_web_app.rb

Overview

A structure that describes the values to use for the SSO settings when you create or update a web app.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(application_arn: nil, instance_arn: nil, role: nil) ⇒ IdentityProviderDetailsProperty

Returns a new instance of IdentityProviderDetailsProperty.

Parameters:

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

    The Amazon Resource Name (ARN) for the IAM Identity Center application: this value is set automatically when you create your web app.

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

    The Amazon Resource Name (ARN) for the IAM Identity Center used for the web app.

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

    The IAM role in IAM Identity Center used for the web app.



658
659
660
661
662
663
664
665
# File 'transfer/cfn_web_app.rb', line 658

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

Instance Attribute Details

#application_arnString? (readonly)

The Amazon Resource Name (ARN) for the IAM Identity Center application: this value is set automatically when you create your web app.



671
672
673
# File 'transfer/cfn_web_app.rb', line 671

def application_arn
  @application_arn
end

#instance_arnString? (readonly)

The Amazon Resource Name (ARN) for the IAM Identity Center used for the web app.



676
677
678
# File 'transfer/cfn_web_app.rb', line 676

def instance_arn
  @instance_arn
end

#roleString? (readonly)

The IAM role in IAM Identity Center used for the web app.



681
682
683
# File 'transfer/cfn_web_app.rb', line 681

def role
  @role
end

Class Method Details

.jsii_propertiesObject



683
684
685
686
687
688
689
# File 'transfer/cfn_web_app.rb', line 683

def self.jsii_properties
  {
    :application_arn => "applicationArn",
    :instance_arn => "instanceArn",
    :role => "role",
  }
end

Instance Method Details

#to_jsiiObject



691
692
693
694
695
696
697
698
699
# File 'transfer/cfn_web_app.rb', line 691

def to_jsii
  result = {}
  result.merge!({
    "applicationArn" => @application_arn,
    "instanceArn" => @instance_arn,
    "role" => @role,
  })
  result.compact
end