AWS::BedrockAgentCore::WorkloadIdentityCreates 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 { CfnWorkloadIdentity } from 'aws-cdk-lib/aws-bedrockagentcore';Or use the module namespace:
import * as bedrockagentcore from 'aws-cdk-lib/aws-bedrockagentcore';
// bedrockagentcore.CfnWorkloadIdentityConfiguration passed to the constructor as CfnWorkloadIdentityProps.
nameRequiredstringThe name of the workload identity. The name must be unique within your account.
allowedResourceOauth2ReturnUrlsOptionalstring[]The list of allowed OAuth2 return URLs for resources associated with this workload identity.
tagsOptionalCfnTag[]The tags for the workload identity.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-bedrockagentcoreAWS::BedrockAgentCore::WorkloadIdentity