@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.722Z") @Stability(value=Stable) public interface CfnAppMonitorProps extends software.amazon.jsii.JsiiSerializable
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.rum.*;
CfnAppMonitorProps cfnAppMonitorProps = CfnAppMonitorProps.builder()
.domain("domain")
.name("name")
// the properties below are optional
.appMonitorConfiguration(AppMonitorConfigurationProperty.builder()
.allowCookies(false)
.enableXRay(false)
.excludedPages(List.of("excludedPages"))
.favoritePages(List.of("favoritePages"))
.guestRoleArn("guestRoleArn")
.identityPoolId("identityPoolId")
.includedPages(List.of("includedPages"))
.sessionSampleRate(123)
.telemetries(List.of("telemetries"))
.build())
.cwLogEnabled(false)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnAppMonitorProps.Builder
A builder for
CfnAppMonitorProps |
static class |
CfnAppMonitorProps.Jsii$Proxy
An implementation for
CfnAppMonitorProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnAppMonitorProps.Builder |
builder() |
default Object |
getAppMonitorConfiguration()
A structure that contains much of the configuration data for the app monitor.
|
default Object |
getCwLogEnabled()
Data collected by CloudWatch RUM is kept by RUM for 30 days and then deleted.
|
String |
getDomain()
The top-level internet domain name for which your application has administrative authority.
|
String |
getName()
A name for the app monitor.
|
default List<CfnTag> |
getTags()
Assigns one or more tags (key-value pairs) to the app monitor.
|
@Stability(value=Stable) @NotNull String getDomain()
This parameter is required.
@Stability(value=Stable) @NotNull String getName()
This parameter is required.
@Stability(value=Stable) @Nullable default Object getAppMonitorConfiguration()
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.
@Stability(value=Stable) @Nullable default Object getCwLogEnabled()
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 .
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
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 .
@Stability(value=Stable) static CfnAppMonitorProps.Builder builder()
CfnAppMonitorProps.Builder of CfnAppMonitorPropsCopyright © 2022. All rights reserved.