Class BrowserCustomProps
(experimental) Properties for creating a Browser resource.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Bedrock.Agentcore.Alpha
Assembly: Amazon.CDK.AWS.Bedrock.Agentcore.Alpha.dll
Syntax (csharp)
public class BrowserCustomProps : IBrowserCustomProps
Syntax (vb)
Public Class BrowserCustomProps Implements IBrowserCustomProps
Remarks
Stability: Experimental
ExampleMetadata: fixture=default infused
Examples
var browser = new BrowserCustom(this, "BrowserVpcWithRecording", new BrowserCustomProps {
BrowserCustomName = "browser_recording",
NetworkConfiguration = BrowserNetworkConfiguration.UsingVpc(this, new VpcConfigProps {
Vpc = new Vpc(this, "VPC", new VpcProps { RestrictDefaultSecurityGroup = false })
})
});
Synopsis
Constructors
| BrowserCustomProps() | (experimental) Properties for creating a Browser resource. |
Properties
| BrowserCustomName | (experimental) 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}. |
| BrowserSigning | (experimental) Specifies whether browser signing is enabled. |
| Description | (experimental) 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 | (experimental) The IAM role that provides permissions for the browser to access AWS services. |
| NetworkConfiguration | (experimental) Network configuration for browser. |
| RecordingConfig | (experimental) Recording configuration for browser. |
| Tags | (experimental) Tags (optional) A list of key:value pairs of tags to apply to this Browser resource. |
Constructors
BrowserCustomProps()
(experimental) Properties for creating a Browser resource.
public BrowserCustomProps()
Remarks
Stability: Experimental
ExampleMetadata: fixture=default infused
Examples
var browser = new BrowserCustom(this, "BrowserVpcWithRecording", new BrowserCustomProps {
BrowserCustomName = "browser_recording",
NetworkConfiguration = BrowserNetworkConfiguration.UsingVpc(this, new VpcConfigProps {
Vpc = new Vpc(this, "VPC", new VpcProps { RestrictDefaultSecurityGroup = false })
})
});
Properties
BrowserCustomName
(experimental) 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}.
public string BrowserCustomName { get; set; }
Property Value
Remarks
Stability: Experimental
Required: - Yes
BrowserSigning
(experimental) Specifies whether browser signing is enabled.
public BrowserSigning? BrowserSigning { get; set; }
Property Value
Remarks
When enabled, the browser will cryptographically sign HTTP requests to identify itself as an AI agent to bot control vendors.
Default: - BrowserSigning.DISABLED
Stability: Experimental
Description
(experimental) 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.
public string? Description { get; set; }
Property Value
Remarks
Default: - No description
Stability: Experimental
Required: - No
ExecutionRole
(experimental) The IAM role that provides permissions for the browser to access AWS services.
public IRole? ExecutionRole { get; set; }
Property Value
Remarks
Default: - A new role will be created
Stability: Experimental
Required: - No
NetworkConfiguration
(experimental) Network configuration for browser.
public BrowserNetworkConfiguration? NetworkConfiguration { get; set; }
Property Value
Remarks
Default: - PUBLIC network mode
Stability: Experimental
Required: - No
RecordingConfig
(experimental) Recording configuration for browser.
public IRecordingConfig? RecordingConfig { get; set; }
Property Value
Remarks
Default: - No recording configuration
Stability: Experimental
Required: - No
Tags
(experimental) Tags (optional) A list of key:value pairs of tags to apply to this Browser resource.
public IDictionary<string, string>? Tags { get; set; }
Property Value
Remarks
Default: {} - no tags
Stability: Experimental
Required: - No