Interface CfnPolicyProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPolicyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:57.588Z")
@Stability(Stable)
public interface CfnPolicyProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnPolicy.
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.iot.*;
Object policyDocument;
CfnPolicyProps cfnPolicyProps = CfnPolicyProps.builder()
.policyDocument(policyDocument)
// the properties below are optional
.policyName("policyName")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPolicyPropsstatic final classAn implementation forCfnPolicyProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnPolicyProps.Builderbuilder()The JSON document that describes the policy.default StringThe policy name.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPolicyDocument
The JSON document that describes the policy. -
getPolicyName
The policy name. -
builder
- Returns:
- a
CfnPolicyProps.BuilderofCfnPolicyProps
-