interface WorkloadIdentityProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Bedrock.Agentcore.Alpha.WorkloadIdentityProps |
Go | github.com/aws/aws-cdk-go/awsbedrockagentcorealpha/v2#WorkloadIdentityProps |
Java | software.amazon.awscdk.services.bedrock.agentcore.alpha.WorkloadIdentityProps |
Python | aws_cdk.aws_bedrock_agentcore_alpha.WorkloadIdentityProps |
TypeScript (source) | @aws-cdk/aws-bedrock-agentcore-alpha ยป WorkloadIdentityProps |
Properties for a new {@link WorkloadIdentity}.
Example
new agentcore.WorkloadIdentity(this, "MyWorkloadIdentity", {
workloadIdentityName: "customer-support-agent-prod",
allowedResourceOauth2ReturnUrls: ["https://app.example.com/oauth/callback"],
tags: { team: "agents", env: "prod" },
});
Properties
| Name | Type | Description |
|---|---|---|
| allowed | string[] | Allowed OAuth2 return URLs for resources associated with this workload identity. |
| tags? | { [string]: string } | Tags for this workload identity. |
| workload | string | Name of the workload identity. |
allowedResourceOauth2ReturnUrls?
Type:
string[]
(optional, default: no return URLs)
Allowed OAuth2 return URLs for resources associated with this workload identity.
tags?
Type:
{ [string]: string }
(optional, default: no tags)
Tags for this workload identity.
workloadIdentityName?
Type:
string
(optional, default: a name generated by CDK)
Name of the workload identity.

.NET
Go
Java
Python
TypeScript (