CfnResourcePolicyProps

class aws_cdk.aws_secretsmanager.CfnResourcePolicyProps(*, resource_policy, secret_id, block_public_policy=None)

Bases: object

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

Parameters
  • resource_policy (Any) – AWS::SecretsManager::ResourcePolicy.ResourcePolicy.

  • secret_id (str) – AWS::SecretsManager::ResourcePolicy.SecretId.

  • block_public_policy (Union[bool, IResolvable, None]) – AWS::SecretsManager::ResourcePolicy.BlockPublicPolicy.

Link

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

Attributes

block_public_policy

AWS::SecretsManager::ResourcePolicy.BlockPublicPolicy.

Link

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

Return type

Union[bool, IResolvable, None]

resource_policy

AWS::SecretsManager::ResourcePolicy.ResourcePolicy.

Link

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

Return type

Any

secret_id

AWS::SecretsManager::ResourcePolicy.SecretId.

Link

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

Return type

str