Interface CfnAccessPolicyProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAccessPolicyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:44.240Z")
@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();
- See Also:
-
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.- See Also:
-
getPolicy
The JSON policy document without any whitespaces.- See Also:
-
getType
The type of access policy.Currently the only option is
data.- See Also:
-
getDescription
The description of the policy.- See Also:
-
builder
- Returns:
- a
CfnAccessPolicyProps.BuilderofCfnAccessPolicyProps
-