Interface CfnResourcePolicyProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnResourcePolicyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-09-25T11:29:17.656Z")
@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.smsvoice.*; Object policyDocument; CfnResourcePolicyProps cfnResourcePolicyProps = CfnResourcePolicyProps.builder() .policyDocument(policyDocument) .resourceArn("resourceArn") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnResourcePolicyProps
static final class
An implementation forCfnResourcePolicyProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The JSON formatted resource-based policy to attach.The Amazon Resource Name (ARN) of the End User Messaging resource attached to the resource-based policy.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPolicyDocument
The JSON formatted resource-based policy to attach.- See Also:
-
getResourceArn
The Amazon Resource Name (ARN) of the End User Messaging resource attached to the resource-based policy.- See Also:
-
builder
- Returns:
- a
CfnResourcePolicyProps.Builder
ofCfnResourcePolicyProps
-