# CfnWorkloadIdentityProps

Properties for defining a `CfnWorkloadIdentity`.

Extends: CfnWorkloadIdentityProps
Used as props by: CfnWorkloadIdentity

- Source: Generated code
- Type last changed: v2.224.0 · 13 Nov 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const cfnWorkloadIdentityProps: bedrockagentcore.CfnWorkloadIdentityProps = {
  name: 'name',

  // the properties below are optional
  allowedResourceOauth2ReturnUrls: ['allowedResourceOauth2ReturnUrls'],
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

## Properties

- `allowedResourceOauth2ReturnUrls`: string[] — The list of allowed OAuth2 return URLs for resources associated with this workload identity.

- `name`: string (required) — The name of the workload identity.

  The name must be unique within your account.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The tags for the workload identity.
