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.
- See:
- 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_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.
- registry_name
The name of the registry.
- revision_id
The revision ID of the policy.