AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::BedrockAgentCore::Policy

CfnPolicy

Resource Type definition for AWS::BedrockAgentCore::Policy.

Import

import { CfnPolicy } from 'aws-cdk-lib/aws-bedrockagentcore';

Or use the module namespace:

import * as bedrockagentcore from 'aws-cdk-lib/aws-bedrockagentcore';
// bedrockagentcore.CfnPolicy

Properties

Configuration passed to the constructor as CfnPolicyProps.

definitionRequired
IResolvable | PolicyDefinitionProperty

The definition structure for policies. Encapsulates different policy formats.

nameRequired
string

The customer-assigned immutable name for the policy. Must be unique within the policy engine.

policyEngineIdRequired
string

The identifier of the policy engine which contains this policy.

descriptionOptional
string

A human-readable description of the policy's purpose and functionality.

validationModeOptional
string

The validation mode for the policy. Determines how Cedar analyzer validation results are handled.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter