@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.702Z") @Stability(value=Stable) public interface CfnResourcePolicyProps 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.logs.*;
CfnResourcePolicyProps cfnResourcePolicyProps = CfnResourcePolicyProps.builder()
.policyDocument("policyDocument")
.policyName("policyName")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnResourcePolicyProps.Builder
A builder for
CfnResourcePolicyProps |
static class |
CfnResourcePolicyProps.Jsii$Proxy
An implementation for
CfnResourcePolicyProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnResourcePolicyProps.Builder |
builder() |
String |
getPolicyDocument()
The details of the policy.
|
String |
getPolicyName()
The name of the resource policy.
|
@Stability(value=Stable) @NotNull String getPolicyDocument()
It must be formatted in JSON, and you must use backslashes to escape characters that need to be escaped in JSON strings, such as double quote marks.
@Stability(value=Stable) @NotNull String getPolicyName()
@Stability(value=Stable) static CfnResourcePolicyProps.Builder builder()
CfnResourcePolicyProps.Builder of CfnResourcePolicyPropsCopyright © 2022. All rights reserved.