Interface CfnResourcePolicyProps
- All Superinterfaces:
- software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
- CfnResourcePolicyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
           date="2025-10-24T13:34:41.720Z")
@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.logs.*;
 CfnResourcePolicyProps cfnResourcePolicyProps = CfnResourcePolicyProps.builder()
         .policyDocument("policyDocument")
         .policyName("policyName")
         .build();
 - See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnResourcePolicyPropsstatic final classAn implementation forCfnResourcePolicyProps
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()The details of the policy.The name of the resource policy.Methods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Method Details- 
getPolicyDocumentThe details of the policy.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. - See Also:
 
- 
getPolicyNameThe name of the resource policy.- See Also:
 
- 
builder- Returns:
- a CfnResourcePolicyProps.BuilderofCfnResourcePolicyProps
 
 
-