Interface CfnResourcePolicyProps

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:38.090Z") @Stability(Stable) public interface CfnResourcePolicyProps extends
Properties for defining a CfnResourcePolicy.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 CfnResourcePolicyProps cfnResourcePolicyProps = CfnResourcePolicyProps.builder()
  • Method Details

    • getPolicyDocument

      @Stability(Stable) @NotNull String getPolicyDocument()
      The 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.

    • getPolicyName

      @Stability(Stable) @NotNull String getPolicyName()
      The name of the resource policy.
    • builder

      @Stability(Stable) static CfnResourcePolicyProps.Builder builder()
      a CfnResourcePolicyProps.Builder of CfnResourcePolicyProps