Class CfnAccessPolicyProps
Properties for defining a CfnAccessPolicy
.
Inheritance
System.Object
CfnAccessPolicyProps
Implements
Namespace: Amazon.CDK.AWS.OpenSearchServerless
Assembly: Amazon.CDK.AWS.OpenSearchServerless.dll
Syntax (csharp)
public class CfnAccessPolicyProps : Object, ICfnAccessPolicyProps
Syntax (vb)
Public Class CfnAccessPolicyProps
Inherits Object
Implements ICfnAccessPolicyProps
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.OpenSearchServerless;
var cfnAccessPolicyProps = new CfnAccessPolicyProps {
Name = "name",
Policy = "policy",
Type = "type",
// the properties below are optional
Description = "description"
};
Synopsis
Constructors
CfnAccessPolicyProps() |
Properties
Description | The description of the policy. |
Name | The name of the policy. |
Policy | The JSON policy document without any whitespaces. |
Type | The type of access policy. |
Constructors
CfnAccessPolicyProps()
public CfnAccessPolicyProps()
Properties
Description
The description of the policy.
public string Description { get; set; }
Property Value
System.String
Remarks
Name
The name of the policy.
public string Name { get; set; }
Property Value
System.String
Remarks
Policy
The JSON policy document without any whitespaces.
public string Policy { get; set; }
Property Value
System.String
Remarks
Type
The type of access policy.
public string Type { get; set; }
Property Value
System.String
Remarks
Currently the only option is data
.