Interface CfnResourcePolicyProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnResourcePolicyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:52.452Z")
@Stability(Stable)
public interface CfnResourcePolicyProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnResourcePolicy.
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.xray.*;
CfnResourcePolicyProps cfnResourcePolicyProps = CfnResourcePolicyProps.builder()
.policyDocument("policyDocument")
.policyName("policyName")
// the properties below are optional
.bypassPolicyLockoutCheck(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnResourcePolicyPropsstatic final classAn implementation forCfnResourcePolicyProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPolicyDocument
The resource-based policy document, which can be up to 5kb in size.- See Also:
-
getPolicyName
The name of the resource-based policy.Must be unique within a specific AWS account.
- See Also:
-
getBypassPolicyLockoutCheck
A flag to indicate whether to bypass the resource-based policy lockout safety check.Returns union: either
BooleanorIResolvable- See Also:
-
builder
- Returns:
- a
CfnResourcePolicyProps.BuilderofCfnResourcePolicyProps
-