# WorkloadIdentityAttributes

Attributes for importing an existing workload identity.

- Source: [`aws-bedrockagentcore/lib/identity/workload-identity.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0/packages/aws-cdk-lib/aws-bedrockagentcore/lib/identity/workload-identity.ts#L127)
- Type last changed: v2.255.0 · 19 May 2026

## 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 workloadIdentityAttributes: bedrockagentcore.WorkloadIdentityAttributes = {
  workloadIdentityArn: 'workloadIdentityArn',
  workloadIdentityName: 'workloadIdentityName',

  // the properties below are optional
  createdTime: 'createdTime',
  lastUpdatedTime: 'lastUpdatedTime',
};
```

## Properties

- `createdTime`: string = not set — Resource creation time.

- `lastUpdatedTime`: string = not set — Resource last-updated time.

- `workloadIdentityArn`: string (required) — ARN of the workload identity.

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