Class: AWSCDK::Glue::CfnIdentityCenterConfigurationProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Glue::CfnIdentityCenterConfigurationProps
- Defined in:
- glue/cfn_identity_center_configuration_props.rb
Overview
Properties for defining a CfnIdentityCenterConfiguration.
Instance Attribute Summary collapse
-
#instance_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the Identity Center instance associated with the AWS Glue configuration.
-
#scopes ⇒ Array<String>?
readonly
A list of Identity Center scopes that define the permissions and access levels for the AWS Glue configuration.
-
#user_background_sessions_enabled ⇒ Boolean, ...
readonly
Indicates whether users can run background sessions when using Identity Center authentication with AWS Glue services.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(instance_arn:, scopes: nil, user_background_sessions_enabled: nil) ⇒ CfnIdentityCenterConfigurationProps
constructor
A new instance of CfnIdentityCenterConfigurationProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(instance_arn:, scopes: nil, user_background_sessions_enabled: nil) ⇒ CfnIdentityCenterConfigurationProps
Returns a new instance of CfnIdentityCenterConfigurationProps.
12 13 14 15 16 17 18 19 |
# File 'glue/cfn_identity_center_configuration_props.rb', line 12 def initialize(instance_arn:, scopes: nil, user_background_sessions_enabled: nil) @instance_arn = instance_arn Jsii::Type.check_type(@instance_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "instanceArn") @scopes = scopes Jsii::Type.check_type(@scopes, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "scopes") unless @scopes.nil? @user_background_sessions_enabled = user_background_sessions_enabled Jsii::Type.check_type(@user_background_sessions_enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "userBackgroundSessionsEnabled") unless @user_background_sessions_enabled.nil? end |
Instance Attribute Details
#instance_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the Identity Center instance associated with the AWS Glue configuration.
25 26 27 |
# File 'glue/cfn_identity_center_configuration_props.rb', line 25 def instance_arn @instance_arn end |
#scopes ⇒ Array<String>? (readonly)
A list of Identity Center scopes that define the permissions and access levels for the AWS Glue configuration.
30 31 32 |
# File 'glue/cfn_identity_center_configuration_props.rb', line 30 def scopes @scopes end |
#user_background_sessions_enabled ⇒ Boolean, ... (readonly)
Indicates whether users can run background sessions when using Identity Center authentication with AWS Glue services.
35 36 37 |
# File 'glue/cfn_identity_center_configuration_props.rb', line 35 def user_background_sessions_enabled @user_background_sessions_enabled end |
Class Method Details
.jsii_properties ⇒ Object
37 38 39 40 41 42 43 |
# File 'glue/cfn_identity_center_configuration_props.rb', line 37 def self.jsii_properties { :instance_arn => "instanceArn", :scopes => "scopes", :user_background_sessions_enabled => "userBackgroundSessionsEnabled", } end |
Instance Method Details
#to_jsii ⇒ Object
45 46 47 48 49 50 51 52 53 |
# File 'glue/cfn_identity_center_configuration_props.rb', line 45 def to_jsii result = {} result.merge!({ "instanceArn" => @instance_arn, "scopes" => @scopes, "userBackgroundSessionsEnabled" => @user_background_sessions_enabled, }) result.compact end |