Skip to content
v2.275.0

CfnRegistryPolicyProps Struct ​

Properties for defining a CfnRegistryPolicy.

Example ​

ts
// 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 ​

policyanypolicyAnypolicyObjectPolicyobjectPolicyinterface{}required#
A resource-based policy.
registryNamestringregistry_namestrregistryNameStringRegistryNamestringRegistryName*stringrequired#
The name of the registry.
revisionIdoptionalstringrevision_idoptionalstrrevisionIdoptionalStringRevisionIdoptionalstringRevisionIdoptional*string#
The revision ID of the policy.