aws-cdk-lib.aws_eventschemas.CfnRegistryPolicyProps

interface CfnRegistryPolicyProps

LanguageType name
.NETAmazon.CDK.AWS.EventSchemas.CfnRegistryPolicyProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awseventschemas#CfnRegistryPolicyProps
Javasoftware.amazon.awscdk.services.eventschemas.CfnRegistryPolicyProps
Pythonaws_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

NameTypeDescription
policyanyA resource-based policy.
registryNamestringThe name of the registry.
revisionId?stringThe 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.