Interface CfnSecurityPolicyProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnSecurityPolicyProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:00.558Z") @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();
 
  • Method Details

    • getName

      @Stability(Stable) @NotNull String getName()
      The name of the policy.
    • getPolicy

      @Stability(Stable) @NotNull String getPolicy()
      The JSON policy document without any whitespaces.
    • getType

      @Stability(Stable) @NotNull String getType()
      The type of security policy.

      Can be either encryption or network .

    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      The description of the security policy.
    • builder

      @Stability(Stable) static CfnSecurityPolicyProps.Builder builder()
      Returns:
      a CfnSecurityPolicyProps.Builder of CfnSecurityPolicyProps