CodeInterpreterCustomAttributes Struct
Attributes for specifying an imported Code Interpreter Custom.
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_ec2 as ec2 } from 'aws-cdk-lib';
declare const securityGroup: ec2.SecurityGroup;
const codeInterpreterCustomAttributes: bedrockagentcore.CodeInterpreterCustomAttributes = {
codeInterpreterArn: 'codeInterpreterArn',
roleArn: 'roleArn',
// the properties below are optional
createdAt: 'createdAt',
lastUpdatedAt: 'lastUpdatedAt',
securityGroups: [securityGroup],
status: 'status',
};
Properties
codeInterpreterArnstringcode_interpreter_arnstrcodeInterpreterArnStringCodeInterpreterArnstringCodeInterpreterArn*stringrequired#The ARN of the agent.
createdAtoptionalstringcreated_atoptionalstrcreatedAtoptionalStringCreatedAtoptionalstringCreatedAtoptional*string#The created timestamp of the code interpreter.
Default: undefined - No created timestamp is provided
lastUpdatedAtoptionalstringlast_updated_atoptionalstrlastUpdatedAtoptionalStringLastUpdatedAtoptionalstringLastUpdatedAtoptional*string#When this code interpreter was last updated.
Default: undefined - No last updated timestamp is provided
The ARN of the IAM role associated to the code interpreter.
securityGroupsoptionalISecurityGroup[]security_groupsoptionaltyping.List[ISecurityGroup]securityGroupsoptionalList<ISecurityGroup>SecurityGroupsoptionalISecurityGroup[]SecurityGroupsoptional*[]ISecurityGroup#The security groups for this code interpreter, if in a VPC.
Default: By default, the code interpreter is not in a VPC.
The status of the code interpreter.
Default: undefined - No status is provided