java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.bedrockagentcore.BrowserCustomBase
software.amazon.awscdk.services.bedrockagentcore.BrowserCustom
All Implemented Interfaces:
IBrowserCustomRef, IEnvironmentAware, IResource, IBrowserCustom, IConnectable, IGrantable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.129.0 (build eaca441)", date="2026-05-19T08:18:44.223Z") @Stability(Stable) public class BrowserCustom extends BrowserCustomBase
Browser resource for AWS Bedrock Agent Core.

Provides a browser environment for web automation and interaction.

Example:

 BrowserCustom browser = BrowserCustom.Builder.create(this, "BrowserVpcWithRecording")
         .browserCustomName("browser_recording")
         .networkConfiguration(BrowserNetworkConfiguration.usingVpc(this, VpcConfigProps.builder()
                 .vpc(Vpc.Builder.create(this, "VPC").restrictDefaultSecurityGroup(false).build())
                 .build()))
         .build();
 

See Also:
  • Field Details

    • PROPERTY_INJECTION_ID

      @Stability(Stable) public static final String PROPERTY_INJECTION_ID
      Uniquely identifies this class.
  • Constructor Details

    • BrowserCustom

      protected BrowserCustom(software.amazon.jsii.JsiiObjectRef objRef)
    • BrowserCustom

      protected BrowserCustom(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • BrowserCustom

      @Stability(Stable) public BrowserCustom(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable BrowserCustomProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props -
    • BrowserCustom

      @Stability(Stable) public BrowserCustom(@NotNull software.constructs.Construct scope, @NotNull String id)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
  • Method Details

    • fromBrowserCustomAttributes

      @Stability(Stable) @NotNull public static IBrowserCustom fromBrowserCustomAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull BrowserCustomAttributes attrs)
      Creates an Browser Custom reference from an existing browser's attributes.

      Parameters:
      scope -
      • The construct scope.
      This parameter is required.
      id -
      • Identifier of the construct.
      This parameter is required.
      attrs -
      • Attributes of the existing browser custom.
      This parameter is required.
      Returns:
      An IBrowserCustom reference to the existing browser
    • getBrowserArn

      @Stability(Stable) @NotNull public String getBrowserArn()
      The ARN of the browser resource.
      Specified by:
      getBrowserArn in interface IBrowserCustom
      Specified by:
      getBrowserArn in class BrowserCustomBase
    • getBrowserCustomName

      @Stability(Stable) @NotNull public String getBrowserCustomName()
      The name of the browser custom tool.
    • getBrowserId

      @Stability(Stable) @NotNull public String getBrowserId()
      The id of the browser.
      Specified by:
      getBrowserId in interface IBrowserCustom
      Specified by:
      getBrowserId in class BrowserCustomBase
    • getExecutionRole

      @Stability(Stable) @NotNull public IRole getExecutionRole()
      The IAM role associated to the browser.
      Specified by:
      getExecutionRole in interface IBrowserCustom
      Specified by:
      getExecutionRole in class BrowserCustomBase
    • getGrantPrincipal

      @Stability(Stable) @NotNull public IPrincipal getGrantPrincipal()
      The principal to grant permissions to.
      Specified by:
      getGrantPrincipal in interface IGrantable
      Specified by:
      getGrantPrincipal in class BrowserCustomBase
    • getNetworkConfiguration

      @Stability(Stable) @NotNull public BrowserNetworkConfiguration getNetworkConfiguration()
      The network configuration of the browser.
    • getBrowserSigning

      @Stability(Stable) @Nullable public BrowserSigning getBrowserSigning()
      The browser signing configuration of the browser.
    • getCreatedAt

      @Stability(Stable) @Nullable public String getCreatedAt()
      The created timestamp of the browser.
      Specified by:
      getCreatedAt in interface IBrowserCustom
      Specified by:
      getCreatedAt in class BrowserCustomBase
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
      The description of the browser.
    • getFailureReason

      @Stability(Stable) @Nullable public String getFailureReason()
      The failure reason of the browser.
    • getLastUpdatedAt

      @Stability(Stable) @Nullable public String getLastUpdatedAt()
      The last updated timestamp of the browser.
      Specified by:
      getLastUpdatedAt in interface IBrowserCustom
      Specified by:
      getLastUpdatedAt in class BrowserCustomBase
    • getRecordingConfig

      @Stability(Stable) @Nullable public RecordingConfig getRecordingConfig()
      The recording configuration of the browser.
    • getStatus

      @Stability(Stable) @Nullable public String getStatus()
      The status of the browser.
      Specified by:
      getStatus in interface IBrowserCustom
      Specified by:
      getStatus in class BrowserCustomBase
    • getTags

      @Stability(Stable) @Nullable public Map<String,String> getTags()
      Tags applied to this browser resource A map of key-value pairs for resource tagging.

      Default: - No tags applied