interface CfnRegistryPolicyProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EventSchemas.CfnRegistryPolicyProps |
Java | software.amazon.awscdk.services.eventschemas.CfnRegistryPolicyProps |
Python | aws_cdk.aws_eventschemas.CfnRegistryPolicyProps |
TypeScript | @aws-cdk/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 * as eventschemas from '@aws-cdk/aws-eventschemas';
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.