Interface CfnSecurityPolicyProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSecurityPolicyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T10:47:25.204Z")
@Stability(Stable)
public interface CfnSecurityPolicyProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnSecurityPolicy.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.opensearchserverless.*;
CfnSecurityPolicyProps cfnSecurityPolicyProps = CfnSecurityPolicyProps.builder()
.name("name")
.policy("policy")
.type("type")
// the properties below are optional
.description("description")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSecurityPolicyPropsstatic final classAn implementation forCfnSecurityPolicyProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the policy.- See Also:
-
getPolicy
The JSON policy document without any whitespaces.- See Also:
-
getType
The type of security policy.Can be either
encryptionornetwork.- See Also:
-
getDescription
The description of the security policy.- See Also:
-
builder
- Returns:
- a
CfnSecurityPolicyProps.BuilderofCfnSecurityPolicyProps
-