Class: AWSCDK::Datasync::CfnLocationFSXONTAP::ManagedSecretConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Datasync::CfnLocationFSXONTAP::ManagedSecretConfigProperty
- Defined in:
- datasync/cfn_location_fsxontap.rb
Overview
Specifies configuration information for a DataSync-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location.
DataSync uses the default AWS-managed KMS key to encrypt this secret in AWS Secrets Manager.
Instance Attribute Summary collapse
-
#secret_arn ⇒ String
readonly
Specifies the ARN for an AWS Secrets Manager secret.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(secret_arn:) ⇒ ManagedSecretConfigProperty
constructor
A new instance of ManagedSecretConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(secret_arn:) ⇒ ManagedSecretConfigProperty
Returns a new instance of ManagedSecretConfigProperty.
689 690 691 692 |
# File 'datasync/cfn_location_fsxontap.rb', line 689 def initialize(secret_arn:) @secret_arn = secret_arn Jsii::Type.check_type(@secret_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "secretArn") end |
Instance Attribute Details
#secret_arn ⇒ String (readonly)
Specifies the ARN for an AWS Secrets Manager secret.
698 699 700 |
# File 'datasync/cfn_location_fsxontap.rb', line 698 def secret_arn @secret_arn end |
Class Method Details
.jsii_properties ⇒ Object
700 701 702 703 704 |
# File 'datasync/cfn_location_fsxontap.rb', line 700 def self.jsii_properties { :secret_arn => "secretArn", } end |
Instance Method Details
#to_jsii ⇒ Object
706 707 708 709 710 711 712 |
# File 'datasync/cfn_location_fsxontap.rb', line 706 def to_jsii result = {} result.merge!({ "secretArn" => @secret_arn, }) result.compact end |