interface CfnRegistryPolicyProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EventSchemas.CfnRegistryPolicyProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awseventschemas#CfnRegistryPolicyProps |
Java | software.amazon.awscdk.services.eventschemas.CfnRegistryPolicyProps |
Python | aws_cdk.aws_eventschemas.CfnRegistryPolicyProps |
TypeScript | aws-cdk-lib » aws_eventschemas » CfnRegistryPolicyProps |
Properties for defining a CfnRegistryPolicy
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_eventschemas as eventschemas } from 'aws-cdk-lib';
declare const policy: any;
const cfnRegistryPolicyProps: eventschemas.CfnRegistryPolicyProps = {
policy: policy,
registryName: 'registryName',
// the properties below are optional
revisionId: 'revisionId',
};
Properties
Name | Type | Description |
---|---|---|
policy | any | A resource-based policy. |
registry | string | The name of the registry. |
revision | string | The revision ID of the policy. |
policy
Type:
any
A resource-based policy.
registryName
Type:
string
The name of the registry.
revisionId?
Type:
string
(optional)
The revision ID of the policy.