CfnRegistryPolicyProps

class aws_cdk.aws_ecr.CfnRegistryPolicyProps(*, policy_text)

Bases: object

Properties for defining a CfnRegistryPolicy.

Parameters

policy_text (Any) – The JSON policy text for your registry.

Link

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

ExampleMetadata

fixture=_generated

Example:

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

# policy_text: Any

cfn_registry_policy_props = ecr.CfnRegistryPolicyProps(
    policy_text=policy_text
)

Attributes

policy_text

The JSON policy text for your registry.

Link

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