Interface ICfnSecurityPolicyProps
Properties for defining a CfnSecurityPolicy
.
Namespace: Amazon.CDK.AWS.OpenSearchServerless
Assembly: Amazon.CDK.AWS.OpenSearchServerless.dll
Syntax (csharp)
public interface ICfnSecurityPolicyProps
Syntax (vb)
Public Interface 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
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. |
Properties
Description
The description of the security policy.
virtual string Description { get; }
Property Value
System.String
Remarks
Name
The name of the policy.
string Name { get; }
Property Value
System.String
Remarks
Policy
The JSON policy document without any whitespaces.
string Policy { get; }
Property Value
System.String
Remarks
Type
The type of security policy.
string Type { get; }
Property Value
System.String
Remarks
Can be either encryption
or network
.