Class: Aws::SecretsManager::Types::ReplicaRegionType

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-secretsmanager/types.rb

Overview

Note:

When making an API call, you may pass ReplicaRegionType data as a hash:

{
  region: "RegionType",
  kms_key_id: "KmsKeyIdType",
}

A custom type that specifies a `Region` and the `KmsKeyId` for a replica secret.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#kms_key_idString

The ARN, key ID, or alias of the KMS key to encrypt the secret. If you don't include this field, Secrets Manager uses `aws/secretsmanager`.

Returns:

  • (String)

1521
1522
1523
1524
1525
1526
# File 'lib/aws-sdk-secretsmanager/types.rb', line 1521

class ReplicaRegionType < Struct.new(
  :region,
  :kms_key_id)
  SENSITIVE = []
  include Aws::Structure
end

#regionString

A Region code. For a list of Region codes, see [Name and code of Regions].

[1]: docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints

Returns:

  • (String)

1521
1522
1523
1524
1525
1526
# File 'lib/aws-sdk-secretsmanager/types.rb', line 1521

class ReplicaRegionType < Struct.new(
  :region,
  :kms_key_id)
  SENSITIVE = []
  include Aws::Structure
end