CfnRegistryPolicyProps

class aws_cdk.aws_eventschemas.CfnRegistryPolicyProps(*, policy, registry_name, revision_id=None)

Bases: object

Properties for defining a CfnRegistryPolicy.

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

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

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

Link:

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.
import aws_cdk.aws_eventschemas as eventschemas

# policy: Any

cfn_registry_policy_props = eventschemas.CfnRegistryPolicyProps(
    policy=policy,
    registry_name="registryName",

    # the properties below are optional
    revision_id="revisionId"
)

Attributes

policy

A resource-based policy.

Link:

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

registry_name

The name of the registry.

Link:

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.

Link:

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