Interface CfnResourcePolicyProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnResourcePolicyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.133.0 (build 0f43e37)",
date="2026-06-16T16:14:19.726Z")
@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.bedrockagentcore.*;
CfnResourcePolicyProps cfnResourcePolicyProps = CfnResourcePolicyProps.builder()
.policy("policy")
.resourceArn("resourceArn")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnResourcePolicyPropsstatic final classAn implementation forCfnResourcePolicyProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The resource policy to create or update.The Amazon Resource Name (ARN) of the resource for which to create or update the resource policy.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPolicy
The resource policy to create or update.- See Also:
-
getResourceArn
The Amazon Resource Name (ARN) of the resource for which to create or update the resource policy.- See Also:
-
builder
- Returns:
- a
CfnResourcePolicyProps.BuilderofCfnResourcePolicyProps
-