AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::BedrockAgentCore::WorkloadIdentity

CfnWorkloadIdentity

Creates a workload identity for Amazon Bedrock AgentCore. A workload identity provides OAuth2-based authentication for resources associated with agent runtimes. For more information about using workload identities in Amazon Bedrock AgentCore, see [Managing workload identities](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/workload-identity.html) . See the *Properties* section below for descriptions of both the required and optional properties.

Import

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

Or use the module namespace:

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

Properties

Configuration passed to the constructor as CfnWorkloadIdentityProps.

nameRequired
string

The name of the workload identity. The name must be unique within your account.

allowedResourceOauth2ReturnUrlsOptional
string[]

The list of allowed OAuth2 return URLs for resources associated with this workload identity.

tagsOptional
CfnTag[]

The tags for the workload identity.

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

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-bedrockagentcore
CFN TypeAWS::BedrockAgentCore::WorkloadIdentity
Properties3

External Links