@Stability(value=Stable) public static final class CfnAppMonitor.Builder extends Object implements software.amazon.jsii.Builder<CfnAppMonitor>
CfnAppMonitor.| Modifier and Type | Method and Description |
|---|---|
CfnAppMonitor.Builder |
appMonitorConfiguration(CfnAppMonitor.AppMonitorConfigurationProperty appMonitorConfiguration)
A structure that contains much of the configuration data for the app monitor.
|
CfnAppMonitor.Builder |
appMonitorConfiguration(IResolvable appMonitorConfiguration)
A structure that contains much of the configuration data for the app monitor.
|
CfnAppMonitor |
build() |
static CfnAppMonitor.Builder |
create(software.constructs.Construct scope,
String id) |
CfnAppMonitor.Builder |
cwLogEnabled(Boolean cwLogEnabled)
Data collected by CloudWatch RUM is kept by RUM for 30 days and then deleted.
|
CfnAppMonitor.Builder |
cwLogEnabled(IResolvable cwLogEnabled)
Data collected by CloudWatch RUM is kept by RUM for 30 days and then deleted.
|
CfnAppMonitor.Builder |
domain(String domain)
The top-level internet domain name for which your application has administrative authority.
|
CfnAppMonitor.Builder |
name(String name)
A name for the app monitor.
|
CfnAppMonitor.Builder |
tags(List<? extends CfnTag> tags)
Assigns one or more tags (key-value pairs) to the app monitor.
|
@Stability(value=Stable) public static CfnAppMonitor.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnAppMonitor.AppMonitorConfigurationProperty.Builder.@Stability(value=Stable) public CfnAppMonitor.Builder domain(String domain)
This parameter is required.
domain - The top-level internet domain name for which your application has administrative authority. This parameter is required.this@Stability(value=Stable) public CfnAppMonitor.Builder name(String name)
This parameter is required.
name - A name for the app monitor. This parameter is required.this@Stability(value=Stable) public CfnAppMonitor.Builder appMonitorConfiguration(CfnAppMonitor.AppMonitorConfigurationProperty appMonitorConfiguration)
If you are using Amazon Cognito for authorization, you must include this structure in your request, and it must include the ID of the Amazon Cognito identity pool to use for authorization. If you don't include AppMonitorConfiguration , you must set up your own authorization method. For more information, see Authorize your application to send data to AWS .
If you omit this argument, the sample rate used for CloudWatch RUM is set to 10% of the user sessions.
appMonitorConfiguration - A structure that contains much of the configuration data for the app monitor. This parameter is required.this@Stability(value=Stable) public CfnAppMonitor.Builder appMonitorConfiguration(IResolvable appMonitorConfiguration)
If you are using Amazon Cognito for authorization, you must include this structure in your request, and it must include the ID of the Amazon Cognito identity pool to use for authorization. If you don't include AppMonitorConfiguration , you must set up your own authorization method. For more information, see Authorize your application to send data to AWS .
If you omit this argument, the sample rate used for CloudWatch RUM is set to 10% of the user sessions.
appMonitorConfiguration - A structure that contains much of the configuration data for the app monitor. This parameter is required.this@Stability(value=Stable) public CfnAppMonitor.Builder cwLogEnabled(Boolean cwLogEnabled)
This parameter specifies whether CloudWatch RUM sends a copy of this telemetry data to Amazon CloudWatch Logs in your account. This enables you to keep the telemetry data for more than 30 days, but it does incur Amazon CloudWatch Logs charges.
If you omit this parameter, the default is false .
cwLogEnabled - Data collected by CloudWatch RUM is kept by RUM for 30 days and then deleted. This parameter is required.this@Stability(value=Stable) public CfnAppMonitor.Builder cwLogEnabled(IResolvable cwLogEnabled)
This parameter specifies whether CloudWatch RUM sends a copy of this telemetry data to Amazon CloudWatch Logs in your account. This enables you to keep the telemetry data for more than 30 days, but it does incur Amazon CloudWatch Logs charges.
If you omit this parameter, the default is false .
cwLogEnabled - Data collected by CloudWatch RUM is kept by RUM for 30 days and then deleted. This parameter is required.this@Stability(value=Stable) public CfnAppMonitor.Builder tags(List<? extends CfnTag> tags)
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
Tags don't have any semantic meaning to AWS and are interpreted strictly as strings of characters.
You can associate as many as 50 tags with an app monitor.
For more information, see Tagging AWS resources .
tags - Assigns one or more tags (key-value pairs) to the app monitor. This parameter is required.this@Stability(value=Stable) public CfnAppMonitor build()
build in interface software.amazon.jsii.Builder<CfnAppMonitor>Copyright © 2022. All rights reserved.