> **Experimental**
>
> `@aws-cdk/aws-bedrock-agentcore-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# WorkloadIdentityProps

Properties for a new {@link WorkloadIdentity}.

Extends: WorkloadIdentityProps
Used as props by: WorkloadIdentity

- Source: [`lib/identity/workload-identity.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0-alpha.0/packages/@aws-cdk/aws-bedrock-agentcore-alpha/lib/identity/workload-identity.ts#L103)

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as bedrock_agentcore_alpha from '@aws-cdk/aws-bedrock-agentcore-alpha';
const workloadIdentityProps: bedrock_agentcore_alpha.WorkloadIdentityProps = {
  allowedResourceOauth2ReturnUrls: ['allowedResourceOauth2ReturnUrls'],
  tags: {
    tagsKey: 'tags',
  },
  workloadIdentityName: 'workloadIdentityName',
};
```

## Properties

- `allowedResourceOauth2ReturnUrls`: string[] — Allowed OAuth2 return URLs for resources associated with this workload identity.

  **Default:** no return URLs

- `tags`: { [key: string]: string } — Tags for this workload identity.

  **Default:** no tags

- `workloadIdentityName`: string — Name of the workload identity.

  **Default:** a name generated by CDK
