Class: AWSCDK::MSK::CfnBatchScramSecretProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MSK::CfnBatchScramSecretProps
- Defined in:
- msk/cfn_batch_scram_secret_props.rb
Overview
Properties for defining a CfnBatchScramSecret.
Instance Attribute Summary collapse
-
#cluster_arn ⇒ String
readonly
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
-
#secret_arn_list ⇒ Array<String>?
readonly
List of Amazon Resource Name (ARN)s of Secrets Manager secrets.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(cluster_arn:, secret_arn_list: nil) ⇒ CfnBatchScramSecretProps
constructor
A new instance of CfnBatchScramSecretProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(cluster_arn:, secret_arn_list: nil) ⇒ CfnBatchScramSecretProps
Returns a new instance of CfnBatchScramSecretProps.
11 12 13 14 15 16 |
# File 'msk/cfn_batch_scram_secret_props.rb', line 11 def initialize(cluster_arn:, secret_arn_list: nil) @cluster_arn = cluster_arn Jsii::Type.check_type(@cluster_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "clusterArn") @secret_arn_list = secret_arn_list Jsii::Type.check_type(@secret_arn_list, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "secretArnList") unless @secret_arn_list.nil? end |
Instance Attribute Details
#cluster_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
22 23 24 |
# File 'msk/cfn_batch_scram_secret_props.rb', line 22 def cluster_arn @cluster_arn end |
#secret_arn_list ⇒ Array<String>? (readonly)
List of Amazon Resource Name (ARN)s of Secrets Manager secrets.
27 28 29 |
# File 'msk/cfn_batch_scram_secret_props.rb', line 27 def secret_arn_list @secret_arn_list end |
Class Method Details
.jsii_properties ⇒ Object
29 30 31 32 33 34 |
# File 'msk/cfn_batch_scram_secret_props.rb', line 29 def self.jsii_properties { :cluster_arn => "clusterArn", :secret_arn_list => "secretArnList", } end |
Instance Method Details
#to_jsii ⇒ Object
36 37 38 39 40 41 42 43 |
# File 'msk/cfn_batch_scram_secret_props.rb', line 36 def to_jsii result = {} result.merge!({ "clusterArn" => @cluster_arn, "secretArnList" => @secret_arn_list, }) result.compact end |