Skip to content
v2.277.0

Experimental

@aws-cdk/aws-bedrock-agentcore-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

BrowserCustomAttributes Struct ​

Attributes for specifying an imported Browser Custom.

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';
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
# 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
// 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();
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"
};
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 ​

browserArnstringbrowser_arnstrbrowserArnStringBrowserArnstringBrowserArn*stringrequired#
The ARN of the agent.
createdAtoptionalstringcreated_atoptionalstrcreatedAtoptionalStringCreatedAtoptionalstringCreatedAtoptional*string#
The created timestamp of the browser.

Default: undefined - No created timestamp is provided

lastUpdatedAtoptionalstringlast_updated_atoptionalstrlastUpdatedAtoptionalStringLastUpdatedAtoptionalstringLastUpdatedAtoptional*string#
When this browser was last updated.

Default: undefined - No last updated timestamp is provided

roleArnstringrole_arnstrroleArnStringRoleArnstringRoleArn*stringrequired#
The ARN of the IAM role associated to the browser.
securityGroupsoptionalISecurityGroup[]security_groupsoptionaltyping.List[ISecurityGroup]securityGroupsoptionalList<ISecurityGroup>SecurityGroupsoptionalISecurityGroup[]SecurityGroupsoptional*[]ISecurityGroup#
The security groups for this browser, if in a VPC.

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

statusoptionalstringstatusoptionalstrstatusoptionalStringStatusoptionalstringStatusoptional*string#
The status of the browser.

Default: undefined - No status is provided