@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.871Z") @Stability(value=Stable) public interface CfnPolicyProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnPolicyProps.Builder
A builder for
CfnPolicyProps |
static class |
CfnPolicyProps.Jsii$Proxy
An implementation for
CfnPolicyProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnPolicyProps.Builder |
builder() |
Object |
getPolicyDocument()
The JSON document that describes the policy.
|
default String |
getPolicyName()
The policy name.
|
@Stability(value=Stable) @NotNull Object getPolicyDocument()
@Stability(value=Stable) @Nullable default String getPolicyName()
@Stability(value=Stable) static CfnPolicyProps.Builder builder()
CfnPolicyProps.Builder of CfnPolicyPropsCopyright © 2022. All rights reserved.