Skip to content
v2.274.0

GatewayAttributes Struct ​

Attributes for importing an existing Gateway.

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';
import { aws_iam as iam } from 'aws-cdk-lib';

declare const role: iam.Role;
const gatewayAttributes: bedrockagentcore.GatewayAttributes = {
  gatewayArn: 'gatewayArn',
  gatewayId: 'gatewayId',
  gatewayName: 'gatewayName',
  role: role,
};

Properties ​

gatewayArnstringgateway_arnstrgatewayArnStringGatewayArnstringGatewayArn*stringrequired#
The ARN of the gateway.
gatewayIdstringgateway_idstrgatewayIdStringGatewayIdstringGatewayId*stringrequired#
The ID of the gateway.
gatewayNamestringgateway_namestrgatewayNameStringGatewayNamestringGatewayName*stringrequired#
The name of the gateway.
roleIRoleroleIRoleroleIRoleRoleIRoleRoleIRolerequired#
The IAM role that provides permissions for the gateway.