CfnSecretProps

class aws_cdk.aws_secretsmanager.CfnSecretProps(*, description=None, generate_secret_string=None, kms_key_id=None, name=None, replica_regions=None, secret_string=None, tags=None)

Bases: object

Properties for defining a AWS::SecretsManager::Secret.

Parameters
  • description (Optional[str]) – AWS::SecretsManager::Secret.Description.

  • generate_secret_string (Union[IResolvable, GenerateSecretStringProperty, None]) – AWS::SecretsManager::Secret.GenerateSecretString.

  • kms_key_id (Optional[str]) – AWS::SecretsManager::Secret.KmsKeyId.

  • name (Optional[str]) – AWS::SecretsManager::Secret.Name.

  • replica_regions (Union[IResolvable, Sequence[Union[IResolvable, ReplicaRegionProperty]], None]) – AWS::SecretsManager::Secret.ReplicaRegions.

  • secret_string (Optional[str]) – AWS::SecretsManager::Secret.SecretString.

  • tags (Optional[Sequence[CfnTag]]) – AWS::SecretsManager::Secret.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secret.html

Attributes

description

AWS::SecretsManager::Secret.Description.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secret.html#cfn-secretsmanager-secret-description

Return type

Optional[str]

generate_secret_string

AWS::SecretsManager::Secret.GenerateSecretString.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secret.html#cfn-secretsmanager-secret-generatesecretstring

Return type

Union[IResolvable, GenerateSecretStringProperty, None]

kms_key_id

AWS::SecretsManager::Secret.KmsKeyId.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secret.html#cfn-secretsmanager-secret-kmskeyid

Return type

Optional[str]

name

AWS::SecretsManager::Secret.Name.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secret.html#cfn-secretsmanager-secret-name

Return type

Optional[str]

replica_regions

AWS::SecretsManager::Secret.ReplicaRegions.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secret.html#cfn-secretsmanager-secret-replicaregions

Return type

Union[IResolvable, List[Union[IResolvable, ReplicaRegionProperty]], None]

secret_string

AWS::SecretsManager::Secret.SecretString.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secret.html#cfn-secretsmanager-secret-secretstring

Return type

Optional[str]

tags

AWS::SecretsManager::Secret.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secret.html#cfn-secretsmanager-secret-tags

Return type

Optional[List[CfnTag]]