Class: AWSCDK::DataZone::CfnConnection::AmazonQPropertiesInputProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
data_zone/cfn_connection.rb

Overview

Amazon Q properties of the connection.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(auth_mode: nil, is_enabled: nil, profile_arn: nil) ⇒ AmazonQPropertiesInputProperty

Returns a new instance of AmazonQPropertiesInputProperty.

Parameters:

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

    The authentication mode of the connection's AmazonQ properties.

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

    Specifies whether Amazon Q is enabled for the connection.

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


669
670
671
672
673
674
675
676
# File 'data_zone/cfn_connection.rb', line 669

def initialize(auth_mode: nil, is_enabled: nil, profile_arn: nil)
  @auth_mode = auth_mode
  Jsii::Type.check_type(@auth_mode, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "authMode") unless @auth_mode.nil?
  @is_enabled = is_enabled
  Jsii::Type.check_type(@is_enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "isEnabled") unless @is_enabled.nil?
  @profile_arn = profile_arn
  Jsii::Type.check_type(@profile_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "profileArn") unless @profile_arn.nil?
end

Instance Attribute Details

#auth_modeString? (readonly)

The authentication mode of the connection's AmazonQ properties.



682
683
684
# File 'data_zone/cfn_connection.rb', line 682

def auth_mode
  @auth_mode
end

#is_enabledBoolean, ... (readonly)

Specifies whether Amazon Q is enabled for the connection.



687
688
689
# File 'data_zone/cfn_connection.rb', line 687

def is_enabled
  @is_enabled
end

#profile_arnString? (readonly)



690
691
692
# File 'data_zone/cfn_connection.rb', line 690

def profile_arn
  @profile_arn
end

Class Method Details

.jsii_propertiesObject



692
693
694
695
696
697
698
# File 'data_zone/cfn_connection.rb', line 692

def self.jsii_properties
  {
    :auth_mode => "authMode",
    :is_enabled => "isEnabled",
    :profile_arn => "profileArn",
  }
end

Instance Method Details

#to_jsiiObject



700
701
702
703
704
705
706
707
708
# File 'data_zone/cfn_connection.rb', line 700

def to_jsii
  result = {}
  result.merge!({
    "authMode" => @auth_mode,
    "isEnabled" => @is_enabled,
    "profileArn" => @profile_arn,
  })
  result.compact
end