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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAccessPolicyPropsstatic final classAn implementation forCfnAccessPolicyProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnAccessPolicyProps.Builderbuilder()default StringThe description of the policy.getName()The name of the policy.The JSON policy document without any whitespaces.getType()The type of access policy.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the policy. -
getPolicy
The JSON policy document without any whitespaces. -
getType
The type of access policy.Currently the only option is
data. -
getDescription
The description of the policy. -
builder
- Returns:
- a
CfnAccessPolicyProps.BuilderofCfnAccessPolicyProps
-