@Stability(value=Stable) public static final class CfnResourcePolicy.Builder extends Object implements software.amazon.jsii.Builder<CfnResourcePolicy>
CfnResourcePolicy.| Modifier and Type | Method and Description |
|---|---|
CfnResourcePolicy |
build() |
static CfnResourcePolicy.Builder |
create(software.constructs.Construct scope,
String id) |
CfnResourcePolicy.Builder |
policyDocument(String policyDocument)
The details of the policy.
|
CfnResourcePolicy.Builder |
policyName(String policyName)
The name of the resource policy.
|
@Stability(value=Stable) public static CfnResourcePolicy.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnResourcePolicy.Builder.@Stability(value=Stable) public CfnResourcePolicy.Builder policyDocument(String policyDocument)
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.
policyDocument - The details of the policy. This parameter is required.this@Stability(value=Stable) public CfnResourcePolicy.Builder policyName(String policyName)
policyName - The name of the resource policy. This parameter is required.this@Stability(value=Stable) public CfnResourcePolicy build()
build in interface software.amazon.jsii.Builder<CfnResourcePolicy>Copyright © 2022. All rights reserved.