public static final class CfnAppMonitor.AppMonitorConfigurationProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnAppMonitor.AppMonitorConfigurationProperty
CfnAppMonitor.AppMonitorConfigurationProperty
CfnAppMonitor.AppMonitorConfigurationProperty.Builder, CfnAppMonitor.AppMonitorConfigurationProperty.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.Object |
getAllowCookies()
If you set this to `true` , the CloudWatch RUM web client sets two cookies, a session cookie and a user cookie.
|
java.lang.Object |
getEnableXRay()
If you set this to `true` , CloudWatch RUM sends client-side traces to X-Ray for each sampled session.
|
java.util.List<java.lang.String> |
getExcludedPages()
A list of URLs in your website or application to exclude from RUM data collection.
|
java.util.List<java.lang.String> |
getFavoritePages()
A list of pages in your application that are to be displayed with a "favorite" icon in the CloudWatch RUM console.
|
java.lang.String |
getGuestRoleArn()
The ARN of the guest IAM role that is attached to the Amazon Cognito identity pool that is used to authorize the sending of data to CloudWatch RUM.
|
java.lang.String |
getIdentityPoolId()
The ID of the Amazon Cognito identity pool that is used to authorize the sending of data to CloudWatch RUM.
|
java.util.List<java.lang.String> |
getIncludedPages()
If this app monitor is to collect data from only certain pages in your application, this structure lists those pages.
|
java.lang.Number |
getSessionSampleRate()
Specifies the portion of user sessions to use for CloudWatch RUM data collection.
|
java.util.List<java.lang.String> |
getTelemetries()
An array that lists the types of telemetry data that this app monitor is to collect.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.Object getAllowCookies()
CfnAppMonitor.AppMonitorConfigurationProperty
The cookies allow the CloudWatch RUM web client to collect data relating to the number of users an application has and the behavior of the application across a sequence of events. Cookies are stored in the top-level domain of the current page.
getAllowCookies
in interface CfnAppMonitor.AppMonitorConfigurationProperty
public final java.lang.Object getEnableXRay()
CfnAppMonitor.AppMonitorConfigurationProperty
You can then see traces and segments from these user sessions in the RUM dashboard and the CloudWatch ServiceLens console. For more information, see What is AWS X-Ray ?
getEnableXRay
in interface CfnAppMonitor.AppMonitorConfigurationProperty
public final java.util.List<java.lang.String> getExcludedPages()
CfnAppMonitor.AppMonitorConfigurationProperty
You can't include both ExcludedPages
and IncludedPages
in the same app monitor.
getExcludedPages
in interface CfnAppMonitor.AppMonitorConfigurationProperty
public final java.util.List<java.lang.String> getFavoritePages()
CfnAppMonitor.AppMonitorConfigurationProperty
getFavoritePages
in interface CfnAppMonitor.AppMonitorConfigurationProperty
public final java.lang.String getGuestRoleArn()
CfnAppMonitor.AppMonitorConfigurationProperty
getGuestRoleArn
in interface CfnAppMonitor.AppMonitorConfigurationProperty
public final java.lang.String getIdentityPoolId()
CfnAppMonitor.AppMonitorConfigurationProperty
getIdentityPoolId
in interface CfnAppMonitor.AppMonitorConfigurationProperty
public final java.util.List<java.lang.String> getIncludedPages()
CfnAppMonitor.AppMonitorConfigurationProperty
You can't include both ExcludedPages
and IncludedPages
in the same app monitor.
getIncludedPages
in interface CfnAppMonitor.AppMonitorConfigurationProperty
public final java.lang.Number getSessionSampleRate()
CfnAppMonitor.AppMonitorConfigurationProperty
Choosing a higher portion gives you more data but also incurs more costs.
The range for this value is 0 to 1 inclusive. Setting this to 1 means that 100% of user sessions are sampled, and setting it to 0.1 means that 10% of user sessions are sampled.
If you omit this parameter, the default of 0.1 is used, and 10% of sessions will be sampled.
getSessionSampleRate
in interface CfnAppMonitor.AppMonitorConfigurationProperty
public final java.util.List<java.lang.String> getTelemetries()
CfnAppMonitor.AppMonitorConfigurationProperty
errors
indicates that RUM collects data about unhandled JavaScript errors raised by your application.performance
indicates that RUM collects performance data about how your application and its resources are loaded and rendered. This includes Core Web Vitals.http
indicates that RUM collects data about HTTP errors thrown by your application.getTelemetries
in interface CfnAppMonitor.AppMonitorConfigurationProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()