Interface CfnPolicyProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPolicyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:02.984Z")
@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") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnPolicyProps
static final class
An implementation forCfnPolicyProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnPolicyProps.Builder
builder()
The JSON document that describes the policy.default String
The policy name.getTags()
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPolicyDocument
The JSON document that describes the policy.- See Also:
-
getPolicyName
The policy name.- See Also:
-
getTags
- See Also:
-
builder
- Returns:
- a
CfnPolicyProps.Builder
ofCfnPolicyProps
-