Interface CfnAccessPolicyProps

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:00.552Z") @Stability(Stable) public interface CfnAccessPolicyProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnAccessPolicy.

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.*;
 CfnAccessPolicyProps cfnAccessPolicyProps = CfnAccessPolicyProps.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 access policy.

      Currently the only option is data .

    • getDescription

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

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