Interface CfnResourcePolicyProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnResourcePolicyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-04-14T18:31:50.041Z")
@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.bedrock.*;
Object policyDocument;
CfnResourcePolicyProps cfnResourcePolicyProps = CfnResourcePolicyProps.builder()
.policyDocument(policyDocument)
.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 IAM policy document defining access permissions for the guardrail and guardrail profile resources.The ARN of the Bedrock Guardrail or Guardrail Profile resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPolicyDocument
The IAM policy document defining access permissions for the guardrail and guardrail profile resources.- See Also:
-
getResourceArn
The ARN of the Bedrock Guardrail or Guardrail Profile resource.- See Also:
-
builder
- Returns:
- a
CfnResourcePolicyProps.BuilderofCfnResourcePolicyProps
-