CfnRegistryPolicyMixinProps

class aws_cdk.mixins_preview.aws_eventschemas.mixins.CfnRegistryPolicyMixinProps(*, policy=None, registry_name=None, revision_id=None)

Bases: object

Properties for CfnRegistryPolicyPropsMixin.

Parameters:
  • policy (Any) – A resource-based policy.

  • registry_name (Optional[str]) – The name of the registry.

  • revision_id (Optional[str]) – The revision ID of the policy.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventschemas-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_eventschemas import mixins as eventschemas_mixins

# policy: Any

cfn_registry_policy_mixin_props = eventschemas_mixins.CfnRegistryPolicyMixinProps(
    policy=policy,
    registry_name="registryName",
    revision_id="revisionId"
)

Attributes

policy

A resource-based policy.

See:

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

registry_name

The name of the registry.

See:

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

revision_id

The revision ID of the policy.

See:

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