CfnRegistryPolicyMixinProps

class aws_cdk.mixins_preview.aws_ecr.mixins.CfnRegistryPolicyMixinProps(*, policy_text=None)

Bases: object

Properties for CfnRegistryPolicyPropsMixin.

Parameters:

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

See:

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.mixins_preview.aws_ecr import mixins as ecr_mixins

# policy_text: Any

cfn_registry_policy_mixin_props = ecr_mixins.CfnRegistryPolicyMixinProps(
    policy_text=policy_text
)

Attributes

policy_text

The JSON policy text for your registry.

See:

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