> **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.
# GatewayTargetProps

Properties for creating a Gateway Target resource.

Extends: GatewayTargetProps
Extends: GatewayTargetCommonProps
Used as props by: GatewayTarget

- Source: [`lib/gateway/targets/target.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0-alpha.0/packages/@aws-cdk/aws-bedrock-agentcore-alpha/lib/gateway/targets/target.ts#L52)

## 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';

declare const credentialProviderConfig: bedrock_agentcore_alpha.ICredentialProviderConfig;
declare const gateway: bedrock_agentcore_alpha.Gateway;
declare const targetConfiguration: bedrock_agentcore_alpha.ITargetConfiguration;
const gatewayTargetProps: bedrock_agentcore_alpha.GatewayTargetProps = {
  gateway: gateway,
  targetConfiguration: targetConfiguration,

  // the properties below are optional
  credentialProviderConfigurations: [credentialProviderConfig],
  description: 'description',
  gatewayTargetName: 'gatewayTargetName',
};
```

## Properties

- `credentialProviderConfigurations`: [ICredentialProviderConfig](/cdk/api/v2/docs/@aws-cdk_aws-bedrock-agentcore-alpha.ICredentialProviderConfig.html)[] — Credential providers for authentication.

  **Default:** [GatewayCredentialProvider.fromIamRole()]

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

  **Default:** No description

- `gateway`: [IGateway](/cdk/api/v2/docs/@aws-cdk_aws-bedrock-agentcore-alpha.IGateway.html) (required) — The gateway this target belongs to.

- `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

- `targetConfiguration`: [ITargetConfiguration](/cdk/api/v2/docs/@aws-cdk_aws-bedrock-agentcore-alpha.ITargetConfiguration.html) (required) — The target configuration (Lambda, OpenAPI, or Smithy) Use one of the configuration helper classes: - LambdaTargetConfiguration.create() - OpenApiTargetConfiguration.create() - SmithyTargetConfiguration.create().
