Class BrowserCustom.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.BrowserCustom.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BrowserCustom>
- Enclosing class:
BrowserCustom
@Stability(Stable)
public static final class BrowserCustom.Builder
extends Object
implements software.amazon.jsii.Builder<BrowserCustom>
A fluent builder for
BrowserCustom.-
Method Summary
Modifier and TypeMethodDescriptionbrowserCustomName(String browserCustomName) The name of the browser custom tool 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}.browserSigning(BrowserSigning browserSigning) Specifies whether browser signing is enabled.build()static BrowserCustom.Builderdescription(String 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.executionRole(IRole executionRole) The IAM role that provides permissions for the browser to access AWS services.networkConfiguration(BrowserNetworkConfiguration networkConfiguration) Network configuration for browser.recordingConfig(RecordingConfig recordingConfig) Recording configuration for browser.Tags (optional) A list of key:value pairs of tags to apply to this Browser resource.
-
Method Details
-
create
@Stability(Stable) public static BrowserCustom.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- This parameter is required.id- This parameter is required.- Returns:
- a new instance of
BrowserCustom.Builder.
-
browserCustomName
The name of the browser custom tool 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}.Default: - auto generate
- Parameters:
browserCustomName- The name of the browser custom tool 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}. This parameter is required.- Returns:
this
-
browserSigning
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.
Default: - BrowserSigning.DISABLED
- Parameters:
browserSigning- Specifies whether browser signing is enabled. This parameter is required.- Returns:
this
-
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.Default: - No description
- Parameters:
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. This parameter is required.- Returns:
this
-
executionRole
The IAM role that provides permissions for the browser to access AWS services.Default: - A new role will be created
- Parameters:
executionRole- The IAM role that provides permissions for the browser to access AWS services. This parameter is required.- Returns:
this
-
networkConfiguration
@Stability(Stable) public BrowserCustom.Builder networkConfiguration(BrowserNetworkConfiguration networkConfiguration) Network configuration for browser.Default: - PUBLIC network mode
- Parameters:
networkConfiguration- Network configuration for browser. This parameter is required.- Returns:
this
-
recordingConfig
Recording configuration for browser.Default: - No recording configuration
- Parameters:
recordingConfig- Recording configuration for browser. This parameter is required.- Returns:
this
-
tags
Tags (optional) A list of key:value pairs of tags to apply to this Browser resource.Default: {} - no tags
- Parameters:
tags- Tags (optional) A list of key:value pairs of tags to apply to this Browser resource. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BrowserCustom>- Returns:
- a newly built instance of
BrowserCustom.
-