Interface CmkSecretConfig.Builder

  • Method Details

    • secretArn

      CmkSecretConfig.Builder secretArn(String secretArn)

      Specifies the ARN for the DataSync-managed Secrets Manager secret that that is used to access a specific storage location. This property is generated by DataSync and is read-only. DataSync encrypts this secret with the KMS key that you specify for KmsKeyArn.

      Parameters:
      secretArn - Specifies the ARN for the DataSync-managed Secrets Manager secret that that is used to access a specific storage location. This property is generated by DataSync and is read-only. DataSync encrypts this secret with the KMS key that you specify for KmsKeyArn.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • kmsKeyArn

      CmkSecretConfig.Builder kmsKeyArn(String kmsKeyArn)

      Specifies the ARN for the customer-managed KMS key that DataSync uses to encrypt the DataSync-managed secret stored for SecretArn. DataSync provides this key to Secrets Manager.

      Parameters:
      kmsKeyArn - Specifies the ARN for the customer-managed KMS key that DataSync uses to encrypt the DataSync-managed secret stored for SecretArn. DataSync provides this key to Secrets Manager.
      Returns:
      Returns a reference to this object so that method calls can be chained together.