Class: AWSCDK::DataZone::CfnConnection::AmazonQPropertiesInputProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DataZone::CfnConnection::AmazonQPropertiesInputProperty
- Defined in:
- data_zone/cfn_connection.rb
Overview
Amazon Q properties of the connection.
Instance Attribute Summary collapse
-
#auth_mode ⇒ String?
readonly
The authentication mode of the connection's AmazonQ properties.
-
#is_enabled ⇒ Boolean, ...
readonly
Specifies whether Amazon Q is enabled for the connection.
- #profile_arn ⇒ String? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(auth_mode: nil, is_enabled: nil, profile_arn: nil) ⇒ AmazonQPropertiesInputProperty
constructor
A new instance of AmazonQPropertiesInputProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(auth_mode: nil, is_enabled: nil, profile_arn: nil) ⇒ AmazonQPropertiesInputProperty
Returns a new instance of AmazonQPropertiesInputProperty.
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_mode ⇒ String? (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_enabled ⇒ Boolean, ... (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_arn ⇒ String? (readonly)
690 691 692 |
# File 'data_zone/cfn_connection.rb', line 690 def profile_arn @profile_arn end |
Class Method Details
.jsii_properties ⇒ Object
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_jsii ⇒ Object
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 |