Class: AWSCDK::Datasync::CfnLocationFSXONTAP::ManagedSecretConfigProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(secret_arn:) ⇒ ManagedSecretConfigProperty

Returns a new instance of ManagedSecretConfigProperty.

Parameters:

  • secret_arn (String)

    Specifies the ARN for an AWS Secrets Manager secret.



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_arnString (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_propertiesObject



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_jsiiObject



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