# GatewayTargetCommonProps

Common properties for all Gateway Target types.

- Source: [`aws-bedrockagentcore/lib/gateway/targets/target.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-bedrockagentcore/lib/gateway/targets/target.ts#L31)
- Type last changed: v2.255.0 · 19 May 2026

## Example

TypeScript:

```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 gatewayTargetCommonProps: bedrockagentcore.GatewayTargetCommonProps = {
  description: 'description',
  gatewayTargetName: 'gatewayTargetName',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_bedrockagentcore as bedrockagentcore

gateway_target_common_props = bedrockagentcore.GatewayTargetCommonProps(
    description="description",
    gateway_target_name="gatewayTargetName"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrockagentcore.*;

GatewayTargetCommonProps gatewayTargetCommonProps = GatewayTargetCommonProps.builder()
        .description("description")
        .gatewayTargetName("gatewayTargetName")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.BedrockAgentCore;

var gatewayTargetCommonProps = new GatewayTargetCommonProps {
    Description = "description",
    GatewayTargetName = "gatewayTargetName"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

gatewayTargetCommonProps := &GatewayTargetCommonProps{
	Description: jsii.String("description"),
	GatewayTargetName: jsii.String("gatewayTargetName"),
}
```

## Properties

- `description`: string — Optional description for the gateway target The description can have up to 200 characters.

  **Default:** No description

- `gatewayTargetName`: string — The name of the gateway target The name must be unique within the gateway Pattern: ^([0-9a-zA-Z][-]?){1,100}$.

  **Default:** auto generate
