Class: AWSCDK::Glue::CfnIdentityCenterConfigurationProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
glue/cfn_identity_center_configuration_props.rb

Overview

Properties for defining a CfnIdentityCenterConfiguration.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instance_arn:, scopes: nil, user_background_sessions_enabled: nil) ⇒ CfnIdentityCenterConfigurationProps

Returns a new instance of CfnIdentityCenterConfigurationProps.

Parameters:

  • instance_arn (String)

    The Amazon Resource Name (ARN) of the Identity Center instance associated with the AWS Glue configuration.

  • scopes (Array<String>, nil) (defaults to: nil)

    A list of Identity Center scopes that define the permissions and access levels for the AWS Glue configuration.

  • user_background_sessions_enabled (Boolean, AWSCDK::IResolvable, nil) (defaults to: nil)

    Indicates whether users can run background sessions when using Identity Center authentication with AWS Glue services.



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_arnString (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

#scopesArray<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_enabledBoolean, ... (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_propertiesObject



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_jsiiObject



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