Class: AWSCDK::QBusiness::CfnPlugin::BasicAuthConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QBusiness::CfnPlugin::BasicAuthConfigurationProperty
- Defined in:
- q_business/cfn_plugin.rb
Overview
Information about the basic authentication credentials used to configure a plugin.
Instance Attribute Summary collapse
-
#role_arn ⇒ String
readonly
The ARN of an IAM role used by Amazon Q Business to access the basic authentication credentials stored in a Secrets Manager secret.
-
#secret_arn ⇒ String
readonly
The ARN of the Secrets Manager secret that stores the basic authentication credentials used for plugin configuration..
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(role_arn:, secret_arn:) ⇒ BasicAuthConfigurationProperty
constructor
A new instance of BasicAuthConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(role_arn:, secret_arn:) ⇒ BasicAuthConfigurationProperty
Returns a new instance of BasicAuthConfigurationProperty.
692 693 694 695 696 697 |
# File 'q_business/cfn_plugin.rb', line 692 def initialize(role_arn:, secret_arn:) @role_arn = role_arn Jsii::Type.check_type(@role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "roleArn") @secret_arn = secret_arn Jsii::Type.check_type(@secret_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "secretArn") end |
Instance Attribute Details
#role_arn ⇒ String (readonly)
The ARN of an IAM role used by Amazon Q Business to access the basic authentication credentials stored in a Secrets Manager secret.
703 704 705 |
# File 'q_business/cfn_plugin.rb', line 703 def role_arn @role_arn end |
#secret_arn ⇒ String (readonly)
The ARN of the Secrets Manager secret that stores the basic authentication credentials used for plugin configuration..
708 709 710 |
# File 'q_business/cfn_plugin.rb', line 708 def secret_arn @secret_arn end |
Class Method Details
.jsii_properties ⇒ Object
710 711 712 713 714 715 |
# File 'q_business/cfn_plugin.rb', line 710 def self.jsii_properties { :role_arn => "roleArn", :secret_arn => "secretArn", } end |
Instance Method Details
#to_jsii ⇒ Object
717 718 719 720 721 722 723 724 |
# File 'q_business/cfn_plugin.rb', line 717 def to_jsii result = {} result.merge!({ "roleArn" => @role_arn, "secretArn" => @secret_arn, }) result.compact end |