> **Experimental**
>
> `@aws-cdk/aws-bedrock-agentcore-alpha` is an [**experimental**](https://docs.aws.amazon.com/cdk/api/stability.html) (alpha) package: its API may change in any release, without a major version bump.
# CodeInterpreterCustomAttributes

Attributes for specifying an imported Code Interpreter Custom.

- Source: [`lib/tools/code-interpreter.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/@aws-cdk/aws-bedrock-agentcore-alpha/lib/tools/code-interpreter.ts#L502)

## Example

TypeScript:

```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';
import { aws_ec2 as ec2 } from 'aws-cdk-lib';

declare const securityGroup: ec2.SecurityGroup;
const codeInterpreterCustomAttributes: bedrock_agentcore_alpha.CodeInterpreterCustomAttributes = {
  codeInterpreterArn: 'codeInterpreterArn',
  roleArn: 'roleArn',

  // the properties below are optional
  createdAt: 'createdAt',
  lastUpdatedAt: 'lastUpdatedAt',
  securityGroups: [securityGroup],
  status: 'status',
};
```

Python:

```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
from aws_cdk import aws_ec2 as ec2

# security_group: ec2.SecurityGroup

code_interpreter_custom_attributes = bedrock_agentcore_alpha.CodeInterpreterCustomAttributes(
    code_interpreter_arn="codeInterpreterArn",
    role_arn="roleArn",

    # the properties below are optional
    created_at="createdAt",
    last_updated_at="lastUpdatedAt",
    security_groups=[security_group],
    status="status"
)
```

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.bedrock.agentcore.alpha.*;
import software.amazon.awscdk.services.ec2.*;

SecurityGroup securityGroup;

CodeInterpreterCustomAttributes codeInterpreterCustomAttributes = CodeInterpreterCustomAttributes.builder()
        .codeInterpreterArn("codeInterpreterArn")
        .roleArn("roleArn")

        // the properties below are optional
        .createdAt("createdAt")
        .lastUpdatedAt("lastUpdatedAt")
        .securityGroups(List.of(securityGroup))
        .status("status")
        .build();
```

C# / .NET:

```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;
using Amazon.CDK.AWS.EC2;

SecurityGroup securityGroup;

var codeInterpreterCustomAttributes = new CodeInterpreterCustomAttributes {
    CodeInterpreterArn = "codeInterpreterArn",
    RoleArn = "roleArn",

    // the properties below are optional
    CreatedAt = "createdAt",
    LastUpdatedAt = "lastUpdatedAt",
    SecurityGroups = new [] { securityGroup },
    Status = "status"
};
```

Golang:

```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"
import "github.com/aws/aws-cdk-go/awscdk"

var securityGroup SecurityGroup

codeInterpreterCustomAttributes := &CodeInterpreterCustomAttributes{
	CodeInterpreterArn: jsii.String("codeInterpreterArn"),
	RoleArn: jsii.String("roleArn"),

	// the properties below are optional
	CreatedAt: jsii.String("createdAt"),
	LastUpdatedAt: jsii.String("lastUpdatedAt"),
	SecurityGroups: []ISecurityGroup{
		securityGroup,
	},
	Status: jsii.String("status"),
}
```

## Properties

- `codeInterpreterArn`: string (required) — The ARN of the agent.

- `createdAt`: string — The created timestamp of the code interpreter.

  **Default:** undefined - No created timestamp is provided

- `lastUpdatedAt`: string — When this code interpreter was last updated.

  **Default:** undefined - No last updated timestamp is provided

- `roleArn`: string (required) — The ARN of the IAM role associated to the code interpreter.

- `securityGroups`: [ISecurityGroup](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.ISecurityGroup.html)[] — The security groups for this code interpreter, if in a VPC.

  **Default:** By default, the code interpreter is not in a VPC.

- `status`: string — The status of the code interpreter.

  **Default:** undefined - No status is provided
