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 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

      @Stability(Stable) public BrowserCustom.Builder browserCustomName(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}.

      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

      @Stability(Stable) public BrowserCustom.Builder browserSigning(BrowserSigning 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

      @Stability(Stable) public BrowserCustom.Builder description(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.

      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

      @Stability(Stable) public BrowserCustom.Builder executionRole(IRole 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

      @Stability(Stable) public BrowserCustom.Builder recordingConfig(RecordingConfig recordingConfig)
      Recording configuration for browser.

      Default: - No recording configuration

      Parameters:
      recordingConfig - Recording configuration for browser. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public BrowserCustom.Builder tags(Map<String,String> 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

      @Stability(Stable) public BrowserCustom build()
      Specified by:
      build in interface software.amazon.jsii.Builder<BrowserCustom>
      Returns:
      a newly built instance of BrowserCustom.