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

Attributes for specifying an imported Browser Custom.

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

## 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 browserCustomAttributes: bedrock_agentcore_alpha.BrowserCustomAttributes = {
  browserArn: 'browserArn',
  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

browser_custom_attributes = bedrock_agentcore_alpha.BrowserCustomAttributes(
    browser_arn="browserArn",
    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;

BrowserCustomAttributes browserCustomAttributes = BrowserCustomAttributes.builder()
        .browserArn("browserArn")
        .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 browserCustomAttributes = new BrowserCustomAttributes {
    BrowserArn = "browserArn",
    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

browserCustomAttributes := &BrowserCustomAttributes{
	BrowserArn: jsii.String("browserArn"),
	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

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

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

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

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

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

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

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

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

- `status`: string — The status of the browser.

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