IBrowserCustom
- class aws_cdk.aws_bedrock_agentcore_alpha.IBrowserCustom(*args, **kwargs)
Bases:
IResource,IGrantable,IConnectable,Protocol(experimental) Interface for Browser resources.
- Stability:
experimental
Methods
- apply_removal_policy(policy)
Apply the given removal policy to this resource.
The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you’ve removed it from the CDK application or because you’ve made a change that requires the resource to be replaced.
The resource can be deleted (
RemovalPolicy.DESTROY), or left in your AWS account for data recovery and cleanup later (RemovalPolicy.RETAIN).- Parameters:
policy (
RemovalPolicy)- Return type:
None
- grant(grantee, *actions)
(experimental) Grants IAM actions to the IAM Principal.
- Parameters:
grantee (
IGrantable)actions (
str)
- Stability:
experimental
- Return type:
- grant_read(grantee)
(experimental) Grants
GetandListactions on the Browser.- Parameters:
grantee (
IGrantable)- Stability:
experimental
- Return type:
- grant_use(grantee)
(experimental) Grants
Invoke,Start, andUpdateactions on the Browser.- Parameters:
grantee (
IGrantable)- Stability:
experimental
- Return type:
- metric(metric_name, dimensions, *, account=None, color=None, dimensions_map=None, id=None, label=None, period=None, region=None, stack_account=None, stack_region=None, statistic=None, unit=None, visible=None)
(experimental) Return the given named metric for this browser.
- Parameters:
metric_name (
str)dimensions (
Mapping[str,str])account (
Optional[str]) – Account which this metric comes from. Default: - Deployment account.color (
Optional[str]) – The hex color code, prefixed with ‘#’ (e.g. ‘#00ff00’), to use when this metric is rendered on a graph. TheColorclass has a set of standard colors that can be used here. Default: - Automatic colordimensions_map (
Optional[Mapping[str,str]]) – Dimensions of the metric. Default: - No dimensions.id (
Optional[str]) – Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No IDlabel (
Optional[str]) – Label for this metric when added to a Graph in a Dashboard. You can use dynamic labels to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph’s legend. Default: - No labelperiod (
Optional[Duration]) – The period over which the specified statistic is applied. Default: Duration.minutes(5)region (
Optional[str]) – Region which this metric comes from. Default: - Deployment region.stack_account (
Optional[str]) – Account of the stack this metric is attached to. Default: - Deployment account.stack_region (
Optional[str]) – Region of the stack this metric is attached to. Default: - Deployment region.statistic (
Optional[str]) – What function to use for aggregating. Use theaws_cloudwatch.Statshelper class to construct valid input strings. Can be one of the following: - “Minimum” | “min” - “Maximum” | “max” - “Average” | “avg” - “Sum” | “sum” - “SampleCount | “n” - “pNN.NN” - “tmNN.NN” | “tm(NN.NN%:NN.NN%)” - “iqm” - “wmNN.NN” | “wm(NN.NN%:NN.NN%)” - “tcNN.NN” | “tc(NN.NN%:NN.NN%)” - “tsNN.NN” | “ts(NN.NN%:NN.NN%)” Default: Averageunit (
Optional[Unit]) – Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric streamvisible (
Optional[bool]) – Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
- Stability:
experimental
- Return type:
- metric_errors_for_api_operation(operation, *, account=None, color=None, dimensions_map=None, id=None, label=None, period=None, region=None, stack_account=None, stack_region=None, statistic=None, unit=None, visible=None)
(experimental) Return a metric containing the number of errors for a specific API operation performed on this browser.
- Parameters:
operation (
str)account (
Optional[str]) – Account which this metric comes from. Default: - Deployment account.color (
Optional[str]) – The hex color code, prefixed with ‘#’ (e.g. ‘#00ff00’), to use when this metric is rendered on a graph. TheColorclass has a set of standard colors that can be used here. Default: - Automatic colordimensions_map (
Optional[Mapping[str,str]]) – Dimensions of the metric. Default: - No dimensions.id (
Optional[str]) – Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No IDlabel (
Optional[str]) –Label for this metric when added to a Graph in a Dashboard. You can use dynamic labels to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph’s legend. Default: - No label
period (
Optional[Duration]) – The period over which the specified statistic is applied. Default: Duration.minutes(5)region (
Optional[str]) – Region which this metric comes from. Default: - Deployment region.stack_account (
Optional[str]) – Account of the stack this metric is attached to. Default: - Deployment account.stack_region (
Optional[str]) – Region of the stack this metric is attached to. Default: - Deployment region.statistic (
Optional[str]) – What function to use for aggregating. Use theaws_cloudwatch.Statshelper class to construct valid input strings. Can be one of the following: - “Minimum” | “min” - “Maximum” | “max” - “Average” | “avg” - “Sum” | “sum” - “SampleCount | “n” - “pNN.NN” - “tmNN.NN” | “tm(NN.NN%:NN.NN%)” - “iqm” - “wmNN.NN” | “wm(NN.NN%:NN.NN%)” - “tcNN.NN” | “tc(NN.NN%:NN.NN%)” - “tsNN.NN” | “ts(NN.NN%:NN.NN%)” Default: Averageunit (
Optional[Unit]) – Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric streamvisible (
Optional[bool]) – Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
- Stability:
experimental
- Return type:
- metric_for_api_operation(metric_name, operation, *, account=None, color=None, dimensions_map=None, id=None, label=None, period=None, region=None, stack_account=None, stack_region=None, statistic=None, unit=None, visible=None)
(experimental) Return the given named metric related to the API operation performed on this browser.
- Parameters:
metric_name (
str)operation (
str)account (
Optional[str]) – Account which this metric comes from. Default: - Deployment account.color (
Optional[str]) – The hex color code, prefixed with ‘#’ (e.g. ‘#00ff00’), to use when this metric is rendered on a graph. TheColorclass has a set of standard colors that can be used here. Default: - Automatic colordimensions_map (
Optional[Mapping[str,str]]) – Dimensions of the metric. Default: - No dimensions.id (
Optional[str]) – Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No IDlabel (
Optional[str]) –Label for this metric when added to a Graph in a Dashboard. You can use dynamic labels to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph’s legend. Default: - No label
period (
Optional[Duration]) – The period over which the specified statistic is applied. Default: Duration.minutes(5)region (
Optional[str]) – Region which this metric comes from. Default: - Deployment region.stack_account (
Optional[str]) – Account of the stack this metric is attached to. Default: - Deployment account.stack_region (
Optional[str]) – Region of the stack this metric is attached to. Default: - Deployment region.statistic (
Optional[str]) – What function to use for aggregating. Use theaws_cloudwatch.Statshelper class to construct valid input strings. Can be one of the following: - “Minimum” | “min” - “Maximum” | “max” - “Average” | “avg” - “Sum” | “sum” - “SampleCount | “n” - “pNN.NN” - “tmNN.NN” | “tm(NN.NN%:NN.NN%)” - “iqm” - “wmNN.NN” | “wm(NN.NN%:NN.NN%)” - “tcNN.NN” | “tc(NN.NN%:NN.NN%)” - “tsNN.NN” | “ts(NN.NN%:NN.NN%)” Default: Averageunit (
Optional[Unit]) – Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric streamvisible (
Optional[bool]) – Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
- Stability:
experimental
- Return type:
- metric_invocations_for_api_operation(operation, *, account=None, color=None, dimensions_map=None, id=None, label=None, period=None, region=None, stack_account=None, stack_region=None, statistic=None, unit=None, visible=None)
(experimental) Return a metric containing the total number of API requests made for a specific browser operation.
- Parameters:
operation (
str)account (
Optional[str]) – Account which this metric comes from. Default: - Deployment account.color (
Optional[str]) – The hex color code, prefixed with ‘#’ (e.g. ‘#00ff00’), to use when this metric is rendered on a graph. TheColorclass has a set of standard colors that can be used here. Default: - Automatic colordimensions_map (
Optional[Mapping[str,str]]) – Dimensions of the metric. Default: - No dimensions.id (
Optional[str]) – Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No IDlabel (
Optional[str]) –Label for this metric when added to a Graph in a Dashboard. You can use dynamic labels to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph’s legend. Default: - No label
period (
Optional[Duration]) – The period over which the specified statistic is applied. Default: Duration.minutes(5)region (
Optional[str]) – Region which this metric comes from. Default: - Deployment region.stack_account (
Optional[str]) – Account of the stack this metric is attached to. Default: - Deployment account.stack_region (
Optional[str]) – Region of the stack this metric is attached to. Default: - Deployment region.statistic (
Optional[str]) – What function to use for aggregating. Use theaws_cloudwatch.Statshelper class to construct valid input strings. Can be one of the following: - “Minimum” | “min” - “Maximum” | “max” - “Average” | “avg” - “Sum” | “sum” - “SampleCount | “n” - “pNN.NN” - “tmNN.NN” | “tm(NN.NN%:NN.NN%)” - “iqm” - “wmNN.NN” | “wm(NN.NN%:NN.NN%)” - “tcNN.NN” | “tc(NN.NN%:NN.NN%)” - “tsNN.NN” | “ts(NN.NN%:NN.NN%)” Default: Averageunit (
Optional[Unit]) – Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric streamvisible (
Optional[bool]) – Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
- Stability:
experimental
- Return type:
- metric_latency_for_api_operation(operation, *, account=None, color=None, dimensions_map=None, id=None, label=None, period=None, region=None, stack_account=None, stack_region=None, statistic=None, unit=None, visible=None)
(experimental) Return a metric measuring the latency of a specific API operation performed on this browser.
- Parameters:
operation (
str)account (
Optional[str]) – Account which this metric comes from. Default: - Deployment account.color (
Optional[str]) – The hex color code, prefixed with ‘#’ (e.g. ‘#00ff00’), to use when this metric is rendered on a graph. TheColorclass has a set of standard colors that can be used here. Default: - Automatic colordimensions_map (
Optional[Mapping[str,str]]) – Dimensions of the metric. Default: - No dimensions.id (
Optional[str]) – Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No IDlabel (
Optional[str]) –Label for this metric when added to a Graph in a Dashboard. You can use dynamic labels to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph’s legend. Default: - No label
period (
Optional[Duration]) – The period over which the specified statistic is applied. Default: Duration.minutes(5)region (
Optional[str]) – Region which this metric comes from. Default: - Deployment region.stack_account (
Optional[str]) – Account of the stack this metric is attached to. Default: - Deployment account.stack_region (
Optional[str]) – Region of the stack this metric is attached to. Default: - Deployment region.statistic (
Optional[str]) – What function to use for aggregating. Use theaws_cloudwatch.Statshelper class to construct valid input strings. Can be one of the following: - “Minimum” | “min” - “Maximum” | “max” - “Average” | “avg” - “Sum” | “sum” - “SampleCount | “n” - “pNN.NN” - “tmNN.NN” | “tm(NN.NN%:NN.NN%)” - “iqm” - “wmNN.NN” | “wm(NN.NN%:NN.NN%)” - “tcNN.NN” | “tc(NN.NN%:NN.NN%)” - “tsNN.NN” | “ts(NN.NN%:NN.NN%)” Default: Averageunit (
Optional[Unit]) – Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric streamvisible (
Optional[bool]) – Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
- Stability:
experimental
- Return type:
- metric_session_duration(*, account=None, color=None, dimensions_map=None, id=None, label=None, period=None, region=None, stack_account=None, stack_region=None, statistic=None, unit=None, visible=None)
(experimental) Return a metric measuring the duration of browser sessions.
- Parameters:
account (
Optional[str]) – Account which this metric comes from. Default: - Deployment account.color (
Optional[str]) – The hex color code, prefixed with ‘#’ (e.g. ‘#00ff00’), to use when this metric is rendered on a graph. TheColorclass has a set of standard colors that can be used here. Default: - Automatic colordimensions_map (
Optional[Mapping[str,str]]) – Dimensions of the metric. Default: - No dimensions.id (
Optional[str]) – Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No IDlabel (
Optional[str]) –Label for this metric when added to a Graph in a Dashboard. You can use dynamic labels to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph’s legend. Default: - No label
period (
Optional[Duration]) – The period over which the specified statistic is applied. Default: Duration.minutes(5)region (
Optional[str]) – Region which this metric comes from. Default: - Deployment region.stack_account (
Optional[str]) – Account of the stack this metric is attached to. Default: - Deployment account.stack_region (
Optional[str]) – Region of the stack this metric is attached to. Default: - Deployment region.statistic (
Optional[str]) – What function to use for aggregating. Use theaws_cloudwatch.Statshelper class to construct valid input strings. Can be one of the following: - “Minimum” | “min” - “Maximum” | “max” - “Average” | “avg” - “Sum” | “sum” - “SampleCount | “n” - “pNN.NN” - “tmNN.NN” | “tm(NN.NN%:NN.NN%)” - “iqm” - “wmNN.NN” | “wm(NN.NN%:NN.NN%)” - “tcNN.NN” | “tc(NN.NN%:NN.NN%)” - “tsNN.NN” | “ts(NN.NN%:NN.NN%)” Default: Averageunit (
Optional[Unit]) – Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric streamvisible (
Optional[bool]) – Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
- Stability:
experimental
- Return type:
- metric_system_errors_for_api_operation(operation, *, account=None, color=None, dimensions_map=None, id=None, label=None, period=None, region=None, stack_account=None, stack_region=None, statistic=None, unit=None, visible=None)
(experimental) Return a metric containing the number of system errors for a specific API operation performed on this browser.
- Parameters:
operation (
str)account (
Optional[str]) – Account which this metric comes from. Default: - Deployment account.color (
Optional[str]) – The hex color code, prefixed with ‘#’ (e.g. ‘#00ff00’), to use when this metric is rendered on a graph. TheColorclass has a set of standard colors that can be used here. Default: - Automatic colordimensions_map (
Optional[Mapping[str,str]]) – Dimensions of the metric. Default: - No dimensions.id (
Optional[str]) – Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No IDlabel (
Optional[str]) –Label for this metric when added to a Graph in a Dashboard. You can use dynamic labels to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph’s legend. Default: - No label
period (
Optional[Duration]) – The period over which the specified statistic is applied. Default: Duration.minutes(5)region (
Optional[str]) – Region which this metric comes from. Default: - Deployment region.stack_account (
Optional[str]) – Account of the stack this metric is attached to. Default: - Deployment account.stack_region (
Optional[str]) – Region of the stack this metric is attached to. Default: - Deployment region.statistic (
Optional[str]) – What function to use for aggregating. Use theaws_cloudwatch.Statshelper class to construct valid input strings. Can be one of the following: - “Minimum” | “min” - “Maximum” | “max” - “Average” | “avg” - “Sum” | “sum” - “SampleCount | “n” - “pNN.NN” - “tmNN.NN” | “tm(NN.NN%:NN.NN%)” - “iqm” - “wmNN.NN” | “wm(NN.NN%:NN.NN%)” - “tcNN.NN” | “tc(NN.NN%:NN.NN%)” - “tsNN.NN” | “ts(NN.NN%:NN.NN%)” Default: Averageunit (
Optional[Unit]) – Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric streamvisible (
Optional[bool]) – Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
- Stability:
experimental
- Return type:
- metric_take_over_count(*, account=None, color=None, dimensions_map=None, id=None, label=None, period=None, region=None, stack_account=None, stack_region=None, statistic=None, unit=None, visible=None)
(experimental) Return a metric containing the number of user takeovers.
- Parameters:
account (
Optional[str]) – Account which this metric comes from. Default: - Deployment account.color (
Optional[str]) – The hex color code, prefixed with ‘#’ (e.g. ‘#00ff00’), to use when this metric is rendered on a graph. TheColorclass has a set of standard colors that can be used here. Default: - Automatic colordimensions_map (
Optional[Mapping[str,str]]) – Dimensions of the metric. Default: - No dimensions.id (
Optional[str]) – Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No IDlabel (
Optional[str]) –Label for this metric when added to a Graph in a Dashboard. You can use dynamic labels to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph’s legend. Default: - No label
period (
Optional[Duration]) – The period over which the specified statistic is applied. Default: Duration.minutes(5)region (
Optional[str]) – Region which this metric comes from. Default: - Deployment region.stack_account (
Optional[str]) – Account of the stack this metric is attached to. Default: - Deployment account.stack_region (
Optional[str]) – Region of the stack this metric is attached to. Default: - Deployment region.statistic (
Optional[str]) – What function to use for aggregating. Use theaws_cloudwatch.Statshelper class to construct valid input strings. Can be one of the following: - “Minimum” | “min” - “Maximum” | “max” - “Average” | “avg” - “Sum” | “sum” - “SampleCount | “n” - “pNN.NN” - “tmNN.NN” | “tm(NN.NN%:NN.NN%)” - “iqm” - “wmNN.NN” | “wm(NN.NN%:NN.NN%)” - “tcNN.NN” | “tc(NN.NN%:NN.NN%)” - “tsNN.NN” | “ts(NN.NN%:NN.NN%)” Default: Averageunit (
Optional[Unit]) – Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric streamvisible (
Optional[bool]) – Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
- Stability:
experimental
- Return type:
- metric_take_over_duration(*, account=None, color=None, dimensions_map=None, id=None, label=None, period=None, region=None, stack_account=None, stack_region=None, statistic=None, unit=None, visible=None)
(experimental) Return a metric measuring the duration of user takeovers.
- Parameters:
account (
Optional[str]) – Account which this metric comes from. Default: - Deployment account.color (
Optional[str]) – The hex color code, prefixed with ‘#’ (e.g. ‘#00ff00’), to use when this metric is rendered on a graph. TheColorclass has a set of standard colors that can be used here. Default: - Automatic colordimensions_map (
Optional[Mapping[str,str]]) – Dimensions of the metric. Default: - No dimensions.id (
Optional[str]) – Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No IDlabel (
Optional[str]) –Label for this metric when added to a Graph in a Dashboard. You can use dynamic labels to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph’s legend. Default: - No label
period (
Optional[Duration]) – The period over which the specified statistic is applied. Default: Duration.minutes(5)region (
Optional[str]) – Region which this metric comes from. Default: - Deployment region.stack_account (
Optional[str]) – Account of the stack this metric is attached to. Default: - Deployment account.stack_region (
Optional[str]) – Region of the stack this metric is attached to. Default: - Deployment region.statistic (
Optional[str]) – What function to use for aggregating. Use theaws_cloudwatch.Statshelper class to construct valid input strings. Can be one of the following: - “Minimum” | “min” - “Maximum” | “max” - “Average” | “avg” - “Sum” | “sum” - “SampleCount | “n” - “pNN.NN” - “tmNN.NN” | “tm(NN.NN%:NN.NN%)” - “iqm” - “wmNN.NN” | “wm(NN.NN%:NN.NN%)” - “tcNN.NN” | “tc(NN.NN%:NN.NN%)” - “tsNN.NN” | “ts(NN.NN%:NN.NN%)” Default: Averageunit (
Optional[Unit]) – Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric streamvisible (
Optional[bool]) – Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
- Stability:
experimental
- Return type:
- metric_take_over_release_count(*, account=None, color=None, dimensions_map=None, id=None, label=None, period=None, region=None, stack_account=None, stack_region=None, statistic=None, unit=None, visible=None)
(experimental) Return a metric containing the number of user takeovers released.
- Parameters:
account (
Optional[str]) – Account which this metric comes from. Default: - Deployment account.color (
Optional[str]) – The hex color code, prefixed with ‘#’ (e.g. ‘#00ff00’), to use when this metric is rendered on a graph. TheColorclass has a set of standard colors that can be used here. Default: - Automatic colordimensions_map (
Optional[Mapping[str,str]]) – Dimensions of the metric. Default: - No dimensions.id (
Optional[str]) – Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No IDlabel (
Optional[str]) –Label for this metric when added to a Graph in a Dashboard. You can use dynamic labels to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph’s legend. Default: - No label
period (
Optional[Duration]) – The period over which the specified statistic is applied. Default: Duration.minutes(5)region (
Optional[str]) – Region which this metric comes from. Default: - Deployment region.stack_account (
Optional[str]) – Account of the stack this metric is attached to. Default: - Deployment account.stack_region (
Optional[str]) – Region of the stack this metric is attached to. Default: - Deployment region.statistic (
Optional[str]) – What function to use for aggregating. Use theaws_cloudwatch.Statshelper class to construct valid input strings. Can be one of the following: - “Minimum” | “min” - “Maximum” | “max” - “Average” | “avg” - “Sum” | “sum” - “SampleCount | “n” - “pNN.NN” - “tmNN.NN” | “tm(NN.NN%:NN.NN%)” - “iqm” - “wmNN.NN” | “wm(NN.NN%:NN.NN%)” - “tcNN.NN” | “tc(NN.NN%:NN.NN%)” - “tsNN.NN” | “ts(NN.NN%:NN.NN%)” Default: Averageunit (
Optional[Unit]) – Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric streamvisible (
Optional[bool]) – Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
- Stability:
experimental
- Return type:
- metric_throttles_for_api_operation(operation, *, account=None, color=None, dimensions_map=None, id=None, label=None, period=None, region=None, stack_account=None, stack_region=None, statistic=None, unit=None, visible=None)
(experimental) Return a metric containing the number of throttled requests for a specific API operation performed on this browser.
- Parameters:
operation (
str)account (
Optional[str]) – Account which this metric comes from. Default: - Deployment account.color (
Optional[str]) – The hex color code, prefixed with ‘#’ (e.g. ‘#00ff00’), to use when this metric is rendered on a graph. TheColorclass has a set of standard colors that can be used here. Default: - Automatic colordimensions_map (
Optional[Mapping[str,str]]) – Dimensions of the metric. Default: - No dimensions.id (
Optional[str]) – Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No IDlabel (
Optional[str]) –Label for this metric when added to a Graph in a Dashboard. You can use dynamic labels to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph’s legend. Default: - No label
period (
Optional[Duration]) – The period over which the specified statistic is applied. Default: Duration.minutes(5)region (
Optional[str]) – Region which this metric comes from. Default: - Deployment region.stack_account (
Optional[str]) – Account of the stack this metric is attached to. Default: - Deployment account.stack_region (
Optional[str]) – Region of the stack this metric is attached to. Default: - Deployment region.statistic (
Optional[str]) – What function to use for aggregating. Use theaws_cloudwatch.Statshelper class to construct valid input strings. Can be one of the following: - “Minimum” | “min” - “Maximum” | “max” - “Average” | “avg” - “Sum” | “sum” - “SampleCount | “n” - “pNN.NN” - “tmNN.NN” | “tm(NN.NN%:NN.NN%)” - “iqm” - “wmNN.NN” | “wm(NN.NN%:NN.NN%)” - “tcNN.NN” | “tc(NN.NN%:NN.NN%)” - “tsNN.NN” | “ts(NN.NN%:NN.NN%)” Default: Averageunit (
Optional[Unit]) – Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric streamvisible (
Optional[bool]) – Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
- Stability:
experimental
- Return type:
- metric_user_errors_for_api_operation(operation, *, account=None, color=None, dimensions_map=None, id=None, label=None, period=None, region=None, stack_account=None, stack_region=None, statistic=None, unit=None, visible=None)
(experimental) Return a metric containing the number of user errors for a specific API operation performed on this browser.
- Parameters:
operation (
str)account (
Optional[str]) – Account which this metric comes from. Default: - Deployment account.color (
Optional[str]) – The hex color code, prefixed with ‘#’ (e.g. ‘#00ff00’), to use when this metric is rendered on a graph. TheColorclass has a set of standard colors that can be used here. Default: - Automatic colordimensions_map (
Optional[Mapping[str,str]]) – Dimensions of the metric. Default: - No dimensions.id (
Optional[str]) – Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No IDlabel (
Optional[str]) –Label for this metric when added to a Graph in a Dashboard. You can use dynamic labels to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph’s legend. Default: - No label
period (
Optional[Duration]) – The period over which the specified statistic is applied. Default: Duration.minutes(5)region (
Optional[str]) – Region which this metric comes from. Default: - Deployment region.stack_account (
Optional[str]) – Account of the stack this metric is attached to. Default: - Deployment account.stack_region (
Optional[str]) – Region of the stack this metric is attached to. Default: - Deployment region.statistic (
Optional[str]) – What function to use for aggregating. Use theaws_cloudwatch.Statshelper class to construct valid input strings. Can be one of the following: - “Minimum” | “min” - “Maximum” | “max” - “Average” | “avg” - “Sum” | “sum” - “SampleCount | “n” - “pNN.NN” - “tmNN.NN” | “tm(NN.NN%:NN.NN%)” - “iqm” - “wmNN.NN” | “wm(NN.NN%:NN.NN%)” - “tcNN.NN” | “tc(NN.NN%:NN.NN%)” - “tsNN.NN” | “ts(NN.NN%:NN.NN%)” Default: Averageunit (
Optional[Unit]) – Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric streamvisible (
Optional[bool]) – Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
- Stability:
experimental
- Return type:
Attributes
- browser_arn
(experimental) The ARN of the browser resource.
- Stability:
experimental
- Attribute:
true
- browser_id
(experimental) The id of the browser.
- Stability:
experimental
- Attribute:
true
- connections
The network connections associated with this resource.
- created_at
(experimental) Timestamp when the browser was created.
- Stability:
experimental
- Attribute:
true
- env
The environment this resource belongs to.
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
- execution_role
(experimental) The IAM role that provides permissions for the browser to access AWS services.
- Stability:
experimental
- grant_principal
The principal to grant permissions to.
- last_updated_at
(experimental) Timestamp when the browser was last updated.
- Stability:
experimental
- Attribute:
true
- node
The tree node.
- stack
The stack in which this resource is defined.
- status
(experimental) The status of the browser.
- Stability:
experimental
- Attribute:
true