Class CfnRegistryPolicyProps
Properties for defining a CfnRegistryPolicy
.
Inheritance
System.Object
CfnRegistryPolicyProps
Implements
Namespace: Amazon.CDK.AWS.EventSchemas
Assembly: Amazon.CDK.AWS.EventSchemas.dll
Syntax (csharp)
public class CfnRegistryPolicyProps : Object, ICfnRegistryPolicyProps
Syntax (vb)
Public Class CfnRegistryPolicyProps
Inherits Object
Implements ICfnRegistryPolicyProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EventSchemas;
var policy;
var cfnRegistryPolicyProps = new CfnRegistryPolicyProps {
Policy = policy,
RegistryName = "registryName",
// the properties below are optional
RevisionId = "revisionId"
};
Synopsis
Constructors
CfnRegistryPolicyProps() |
Properties
Policy | A resource-based policy. |
RegistryName | The name of the registry. |
RevisionId | The revision ID of the policy. |
Constructors
CfnRegistryPolicyProps()
public CfnRegistryPolicyProps()
Properties
Policy
A resource-based policy.
public object Policy { get; set; }
Property Value
System.Object
Remarks
RegistryName
The name of the registry.
public string RegistryName { get; set; }
Property Value
System.String
Remarks
RevisionId
The revision ID of the policy.
public string RevisionId { get; set; }
Property Value
System.String