Experimental
@aws-cdk/aws-bedrock-agentcore-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
GatewayTargetAttributes Struct
Attributes for importing an existing Gateway Target.
| Source | lib/gateway/targets/target.ts |
|---|
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 gateway: bedrock_agentcore_alpha.Gateway;
const gatewayTargetAttributes: bedrock_agentcore_alpha.GatewayTargetAttributes = {
gateway: gateway,
gatewayTargetName: 'gatewayTargetName',
targetArn: 'targetArn',
targetId: 'targetId',
// the properties below are optional
createdAt: 'createdAt',
status: 'status',
updatedAt: 'updatedAt',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_bedrock_agentcore_alpha as bedrock_agentcore_alpha
# gateway: bedrock_agentcore_alpha.Gateway
gateway_target_attributes = bedrock_agentcore_alpha.GatewayTargetAttributes(
gateway=gateway,
gateway_target_name="gatewayTargetName",
target_arn="targetArn",
target_id="targetId",
# the properties below are optional
created_at="createdAt",
status="status",
updated_at="updatedAt"
)
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.bedrock.agentcore.alpha.*;
Gateway gateway;
GatewayTargetAttributes gatewayTargetAttributes = GatewayTargetAttributes.builder()
.gateway(gateway)
.gatewayTargetName("gatewayTargetName")
.targetArn("targetArn")
.targetId("targetId")
// the properties below are optional
.createdAt("createdAt")
.status("status")
.updatedAt("updatedAt")
.build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.Bedrock.Agentcore.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock.Agentcore.Alpha;
Gateway gateway;
var gatewayTargetAttributes = new GatewayTargetAttributes {
Gateway = gateway,
GatewayTargetName = "gatewayTargetName",
TargetArn = "targetArn",
TargetId = "targetId",
// the properties below are optional
CreatedAt = "createdAt",
Status = "status",
UpdatedAt = "updatedAt"
};
go
// Install: go get github.com/aws/aws-cdk-go/awsbedrockagentcorealpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import bedrock_agentcore_alpha "github.com/aws/aws-cdk-go/awsbedrockagentcorealpha"
var gateway Gateway
gatewayTargetAttributes := &GatewayTargetAttributes{
Gateway: gateway,
GatewayTargetName: jsii.String("gatewayTargetName"),
TargetArn: jsii.String("targetArn"),
TargetId: jsii.String("targetId"),
// the properties below are optional
CreatedAt: jsii.String("createdAt"),
Status: jsii.String("status"),
UpdatedAt: jsii.String("updatedAt"),
}
Properties
createdAtoptionalstringcreated_atoptionalstrcreatedAtoptionalStringCreatedAtoptionalstringCreatedAtoptional*string #Optional creation timestamp.
Default: No creation timestamp
The gateway this target belongs to.
gatewayTargetNamestringgateway_target_namestrgatewayTargetNameStringGatewayTargetNamestringGatewayTargetName*string required #The name of the gateway target.
statusoptionalstringstatusoptionalstrstatusoptionalStringStatusoptionalstringStatusoptional*string #Optional status of the target.
Default: No status
The ARN of the gateway target.
The ID of the gateway target.
updatedAtoptionalstringupdated_atoptionalstrupdatedAtoptionalStringUpdatedAtoptionalstringUpdatedAtoptional*string #Optional last update timestamp.
Default: No update timestamp