Class CfnSecurityPolicyProps
Properties for defining a CfnSecurityPolicy
.
Inheritance
System.Object
CfnSecurityPolicyProps
Implements
Namespace: Amazon.CDK.AWS.OpenSearchServerless
Assembly: Amazon.CDK.AWS.OpenSearchServerless.dll
Syntax (csharp)
public class CfnSecurityPolicyProps : Object, ICfnSecurityPolicyProps
Syntax (vb)
Public Class CfnSecurityPolicyProps
Inherits Object
Implements ICfnSecurityPolicyProps
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 cfnSecurityPolicyProps = new CfnSecurityPolicyProps {
Name = "name",
Policy = "policy",
Type = "type",
// the properties below are optional
Description = "description"
};
Synopsis
Constructors
CfnSecurityPolicyProps() |
Properties
Description | The description of the security policy. |
Name | The name of the policy. |
Policy | The JSON policy document without any whitespaces. |
Type | The type of security policy. |
Constructors
CfnSecurityPolicyProps()
public CfnSecurityPolicyProps()
Properties
Description
The description of the security 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 security policy.
public string Type { get; set; }
Property Value
System.String
Remarks
Can be either encryption
or network
.