# GatewayTargetAttributes

Attributes for importing an existing Gateway Target.

- Source: [`aws-bedrockagentcore/lib/gateway/targets/target.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-bedrockagentcore/lib/gateway/targets/target.ts#L224)
- 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';

declare const gateway: bedrockagentcore.Gateway;
const gatewayTargetAttributes: bedrockagentcore.GatewayTargetAttributes = {
  gateway: gateway,
  gatewayTargetName: 'gatewayTargetName',
  targetArn: 'targetArn',
  targetId: 'targetId',

  // the properties below are optional
  createdAt: 'createdAt',
  status: 'status',
  updatedAt: 'updatedAt',
};
```

## Properties

- `createdAt`: string — Optional creation timestamp.

  **Default:** No creation timestamp

- `gateway`: [IGateway](/cdk/api/v2/docs/aws-cdk-lib.aws_bedrockagentcore.IGateway.html) (required) — The gateway this target belongs to.

- `gatewayTargetName`: string (required) — The name of the gateway target.

- `status`: string — Optional status of the target.

  **Default:** No status

- `targetArn`: string (required) — The ARN of the gateway target.

- `targetId`: string (required) — The ID of the gateway target.

- `updatedAt`: string — Optional last update timestamp.

  **Default:** No update timestamp
