Class CfnPolicyStore
Creates a policy store.
Implements
Inherited Members
Namespace: Amazon.CDK.AwsVerifiedpermissions
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnPolicyStore : CfnResource, IInspectable
Syntax (vb)
Public Class CfnPolicyStore
Inherits CfnResource
Implements IInspectable
Remarks
A policy store is a container for policy resources. You can create a separate policy store for each of your applications.
CloudformationResource: AWS::VerifiedPermissions::PolicyStore
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_verifiedpermissions;
var cfnPolicyStore = new CfnPolicyStore(this, "MyCfnPolicyStore", new CfnPolicyStoreProps {
ValidationSettings = new ValidationSettingsProperty {
Mode = "mode"
},
// the properties below are optional
Description = "description",
Schema = new SchemaDefinitionProperty {
CedarJson = "cedarJson"
}
});
Synopsis
Constructors
CfnPolicyStore(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnPolicyStore(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnPolicyStore(Construct, String, ICfnPolicyStoreProps) |
Properties
AttrArn | The Amazon Resource Name (ARN) of the new or updated policy store. |
AttrPolicyStoreId | The unique ID of the new or updated policy store. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Description | Descriptive text that you can provide to help with identification of the current policy store. |
Schema | Creates or updates the policy schema in a policy store. |
ValidationSettings | Specifies the validation setting for this policy store. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnPolicyStore(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnPolicyStore(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnPolicyStore(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnPolicyStore(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnPolicyStore(Construct, String, ICfnPolicyStoreProps)
public CfnPolicyStore(Construct scope, string id, ICfnPolicyStoreProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnPolicyStoreProps
Resource properties.
Properties
AttrArn
The Amazon Resource Name (ARN) of the new or updated policy store.
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Arn
AttrPolicyStoreId
The unique ID of the new or updated policy store.
public virtual string AttrPolicyStoreId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: PolicyStoreId
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Description
Descriptive text that you can provide to help with identification of the current policy store.
public virtual string Description { get; set; }
Property Value
System.String
Schema
Creates or updates the policy schema in a policy store.
public virtual object Schema { get; set; }
Property Value
System.Object
ValidationSettings
Specifies the validation setting for this policy store.
public virtual object ValidationSettings { get; set; }
Property Value
System.Object
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>