@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 |
policy(Object policy)
Sets the value of
CfnResourcePolicyProps.getPolicy() |
CfnResourcePolicyProps.Builder |
resourceArn(String resourceArn)
Sets the value of
CfnResourcePolicyProps.getResourceArn() |
@Stability(value=Stable) public CfnResourcePolicyProps.Builder policy(Object policy)
CfnResourcePolicyProps.getPolicy()policy - A policy you want to associate with a resource. This parameter is required.this@Stability(value=Stable) public CfnResourcePolicyProps.Builder resourceArn(String resourceArn)
CfnResourcePolicyProps.getResourceArn()resourceArn - Amazon Resource Name (ARN) of the resource to which you want to attach a 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.