Class CfnBrowserCustom
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.bedrockagentcore.CfnBrowserCustom
- All Implemented Interfaces:
IInspectable,ITaggableV2,IBrowserCustomRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:33.765Z")
@Stability(Stable)
public class CfnBrowserCustom
extends CfnResource
implements IInspectable, IBrowserCustomRef, ITaggableV2
AgentCore Browser tool provides a fast, secure, cloud-based browser runtime to enable AI agents to interact with websites at scale.
For more information about using the custom browser, see Interact with web applications using Amazon Bedrock AgentCore Browser .
See the Properties section below for descriptions of both the required and optional properties.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrockagentcore.*;
CfnBrowserCustom cfnBrowserCustom = CfnBrowserCustom.Builder.create(this, "MyCfnBrowserCustom")
.name("name")
.networkConfiguration(BrowserNetworkConfigurationProperty.builder()
.networkMode("networkMode")
// the properties below are optional
.vpcConfig(VpcConfigProperty.builder()
.securityGroups(List.of("securityGroups"))
.subnets(List.of("subnets"))
.build())
.build())
// the properties below are optional
.description("description")
.executionRoleArn("executionRoleArn")
.recordingConfig(RecordingConfigProperty.builder()
.enabled(false)
.s3Location(S3LocationProperty.builder()
.bucket("bucket")
.prefix("prefix")
.build())
.build())
.tags(Map.of(
"tagsKey", "tags"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceThe network configuration.static final classA fluent builder forCfnBrowserCustom.static interfaceThe recording configuration.static interfaceThe S3 location.static interfaceNetwork mode configuration for VPC.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.bedrockagentcore.IBrowserCustomRef
IBrowserCustomRef.Jsii$Default, IBrowserCustomRef.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnBrowserCustom(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnBrowserCustom(software.amazon.jsii.JsiiObjectRef objRef) CfnBrowserCustom(software.constructs.Construct scope, String id, CfnBrowserCustomProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IBrowserCustomReffromBrowserId(software.constructs.Construct scope, String id, String browserId) Creates a new IBrowserCustomRef from a browserId.The ARN for the custom browser.The ID for the custom browser.The time at which the custom browser was created.The reason for failure if the browser creation or operation failed.The time at which the custom browser was last updated.The status of the custom browser.A reference to a BrowserCustom resource.Tag Manager which manages the tags for this resource.The custom browser.The Amazon Resource Name (ARN) of the execution role.getName()The name of the custom browser.The network configuration for a code interpreter.THe custom browser configuration.getTags()The tags for the custom browser.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetDescription(String value) The custom browser.voidsetExecutionRoleArn(String value) The Amazon Resource Name (ARN) of the execution role.voidThe name of the custom browser.voidThe network configuration for a code interpreter.voidThe network configuration for a code interpreter.voidsetRecordingConfig(IResolvable value) THe custom browser configuration.voidTHe custom browser configuration.voidThe tags for the custom browser.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnBrowserCustom
protected CfnBrowserCustom(software.amazon.jsii.JsiiObjectRef objRef) -
CfnBrowserCustom
protected CfnBrowserCustom(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnBrowserCustom
@Stability(Stable) public CfnBrowserCustom(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnBrowserCustomProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
fromBrowserId
@Stability(Stable) @NotNull public static IBrowserCustomRef fromBrowserId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String browserId) Creates a new IBrowserCustomRef from a browserId.- Parameters:
scope- This parameter is required.id- This parameter is required.browserId- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrBrowserArn
The ARN for the custom browser. -
getAttrBrowserId
The ID for the custom browser. -
getAttrCreatedAt
The time at which the custom browser was created. -
getAttrFailureReason
The reason for failure if the browser creation or operation failed. -
getAttrLastUpdatedAt
The time at which the custom browser was last updated. -
getAttrStatus
The status of the custom browser. -
getBrowserCustomRef
A reference to a BrowserCustom resource.- Specified by:
getBrowserCustomRefin interfaceIBrowserCustomRef
-
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getName
The name of the custom browser. -
setName
The name of the custom browser. -
getNetworkConfiguration
The network configuration for a code interpreter.Returns union: either
IResolvableorCfnBrowserCustom.BrowserNetworkConfigurationProperty -
setNetworkConfiguration
The network configuration for a code interpreter. -
setNetworkConfiguration
@Stability(Stable) public void setNetworkConfiguration(@NotNull CfnBrowserCustom.BrowserNetworkConfigurationProperty value) The network configuration for a code interpreter. -
getDescription
The custom browser. -
setDescription
The custom browser. -
getExecutionRoleArn
The Amazon Resource Name (ARN) of the execution role. -
setExecutionRoleArn
The Amazon Resource Name (ARN) of the execution role. -
getRecordingConfig
THe custom browser configuration.Returns union: either
IResolvableorCfnBrowserCustom.RecordingConfigProperty -
setRecordingConfig
THe custom browser configuration. -
setRecordingConfig
@Stability(Stable) public void setRecordingConfig(@Nullable CfnBrowserCustom.RecordingConfigProperty value) THe custom browser configuration. -
getTags
The tags for the custom browser. -
setTags
The tags for the custom browser.
-