CfnRegistryPolicyProps

class aws_cdk.aws_ecr.CfnRegistryPolicyProps(*, policy_text)

Bases: object

Properties for defining a AWS::ECR::RegistryPolicy.

Parameters

policy_text (Any) – AWS::ECR::RegistryPolicy.PolicyText.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-registrypolicy.html

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_ecr as ecr

# policy_text is of type object

cfn_registry_policy_props = ecr.CfnRegistryPolicyProps(
    policy_text=policy_text
)

Attributes

policy_text

AWS::ECR::RegistryPolicy.PolicyText.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-registrypolicy.html#cfn-ecr-registrypolicy-policytext

Return type

Any