@Stability(value=Stable) public static final class CfnResourcePolicyProps.Builder extends Object implements software.amazon.jsii.Builder<CfnResourcePolicyProps>
CfnResourcePolicyProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnResourcePolicyProps |
build()
Builds the configured instance.
|
CfnResourcePolicyProps.Builder |
policyDocument(String policyDocument)
Sets the value of
CfnResourcePolicyProps.getPolicyDocument() |
CfnResourcePolicyProps.Builder |
policyName(String policyName)
Sets the value of
CfnResourcePolicyProps.getPolicyName() |
@Stability(value=Stable) public CfnResourcePolicyProps.Builder policyDocument(String policyDocument)
CfnResourcePolicyProps.getPolicyDocument()policyDocument - The details of the policy. This parameter is required.
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.this@Stability(value=Stable) public CfnResourcePolicyProps.Builder policyName(String policyName)
CfnResourcePolicyProps.getPolicyName()policyName - The name of the resource policy. This parameter is required.this@Stability(value=Stable) public CfnResourcePolicyProps build()
build in interface software.amazon.jsii.Builder<CfnResourcePolicyProps>CfnResourcePolicyPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.