Experimental
@aws-cdk/aws-bedrock-agentcore-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
BrowserCustomProps Struct
Properties for creating a Browser resource.
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_iam as iam } from 'aws-cdk-lib';
declare const browserNetworkConfiguration: bedrock_agentcore_alpha.BrowserNetworkConfiguration;
declare const role: iam.Role;
const browserCustomProps: bedrock_agentcore_alpha.BrowserCustomProps = {
browserCustomName: 'browserCustomName',
browserSigning: bedrock_agentcore_alpha.BrowserSigning.ENABLED,
description: 'description',
executionRole: role,
networkConfiguration: browserNetworkConfiguration,
recordingConfig: {
enabled: false,
s3Location: {
bucketName: 'bucketName',
objectKey: 'objectKey',
// the properties below are optional
objectVersion: 'objectVersion',
},
},
tags: {
tagsKey: 'tags',
},
};
Properties
browserCustomNamestringbrowser_custom_namestrbrowserCustomNameStringBrowserCustomNamestringBrowserCustomName*string= auto generate#The name of the browser Valid characters are a-z, A-Z, 0-9, _ (underscore) The name must start with a letter and can be up to 48 characters long Pattern: [a-zA-Z][a-zA-Z0-9_]{0,47}.
browserSigningBrowserSigningbrowser_signingBrowserSigningbrowserSigningBrowserSigningBrowserSigningBrowserSigningBrowserSigningBrowserSigning= BrowserSigning.DISABLED#Specifies whether browser signing is enabled.
When enabled, the browser will cryptographically sign HTTP requests to identify itself as an AI agent to bot control vendors.
descriptionstringdescriptionstrdescriptionStringDescriptionstringDescription*string= No description#Optional description for the browser Valid characters are a-z, A-Z, 0-9, _ (underscore), - (hyphen) and spaces The description can have up to 200 characters.
executionRoleIRoleexecution_roleIRoleexecutionRoleIRoleExecutionRoleIRoleExecutionRoleIRole= A new role will be created#The IAM role that provides permissions for the browser to access AWS services.
networkConfigurationBrowserNetworkConfigurationnetwork_configurationBrowserNetworkConfigurationnetworkConfigurationBrowserNetworkConfigurationNetworkConfigurationBrowserNetworkConfigurationNetworkConfigurationBrowserNetworkConfiguration= PUBLIC network mode#Network configuration for browser.
recordingConfigRecordingConfigrecording_configRecordingConfigrecordingConfigRecordingConfigRecordingConfigRecordingConfigRecordingConfigRecordingConfig= No recording configuration#Recording configuration for browser.
tags{ [key: string]: string }tagstyping.Mapping[str, str]tagsMap<String, String>TagsIDictionary<string, string>Tags*map[string]*string= {} - no tags#Tags (optional) A list of key:value pairs of tags to apply to this Browser resource.