AppMonitorAppMonitorConfiguration class

Constructors

AppMonitorAppMonitorConfiguration({Input<bool?>? allowCookies, Input<bool?>? enableXray, Input<List<String>?>? excludedPages, Input<List<String>?>? favoritePages, Input<String?>? guestRoleArn, Input<String?>? identityPoolId, Input<List<String>?>? includedPages, Input<double?>? sessionSampleRate, Input<List<String>?>? telemetries})
Creates a new AppMonitorAppMonitorConfiguration. allowCookies If you set this to true, RUM web client sets two cookies, a session cookie and a user cookie. The cookies allow the 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. enableXray If you set this to true, RUM enables X-Ray tracing for the user sessions that RUM samples. RUM adds an X-Ray trace header to allowed HTTP requests. It also records an X-Ray segment for allowed HTTP requests. excludedPages A list of URLs in your website or application to exclude from RUM data collection. favoritePages A list of pages in the CloudWatch RUM console that are to be displayed with a "favorite" icon. guestRoleArn 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 RUM. identityPoolId The ID of the Amazon Cognito identity pool that is used to authorize the sending of data to RUM. includedPages If this app monitor is to collect data from only certain pages in your application, this structure lists those pages. sessionSampleRate Specifies the percentage of user sessions to use for RUM data collection. Choosing a higher percentage gives you more data but also incurs more costs. The number you specify is the percentage of user sessions that will be used. Default value is 0.1. telemetries An array that lists the types of telemetry data that this app monitor is to collect. Valid values are errors, performance, and http.
const
AppMonitorAppMonitorConfiguration.fromMap(Map<String, dynamic> map)
factory

Properties

allowCookies → Input<bool?>?
If you set this to true, RUM web client sets two cookies, a session cookie and a user cookie. The cookies allow the 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.
final
enableXray → Input<bool?>?
If you set this to true, RUM enables X-Ray tracing for the user sessions that RUM samples. RUM adds an X-Ray trace header to allowed HTTP requests. It also records an X-Ray segment for allowed HTTP requests.
final
excludedPages → Input<List<String>?>?
A list of URLs in your website or application to exclude from RUM data collection.
final
favoritePages → Input<List<String>?>?
A list of pages in the CloudWatch RUM console that are to be displayed with a "favorite" icon.
final
guestRoleArn → Input<String?>?
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 RUM.
final
hashCode → int
The hash code for this object.
no setterinherited
identityPoolId → Input<String?>?
The ID of the Amazon Cognito identity pool that is used to authorize the sending of data to RUM.
final
includedPages → Input<List<String>?>?
If this app monitor is to collect data from only certain pages in your application, this structure lists those pages.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sessionSampleRate → Input<double?>?
Specifies the percentage of user sessions to use for RUM data collection. Choosing a higher percentage gives you more data but also incurs more costs. The number you specify is the percentage of user sessions that will be used. Default value is 0.1.
final
telemetries → Input<List<String>?>?
An array that lists the types of telemetry data that this app monitor is to collect. Valid values are errors, performance, and http.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited