class Aws::CloudWatchRUM::Types::CreateAppMonitorRequest

@note When making an API call, you may pass CreateAppMonitorRequest

data as a hash:

    {
      app_monitor_configuration: {
        allow_cookies: false,
        enable_x_ray: false,
        excluded_pages: ["Url"],
        favorite_pages: ["String"],
        guest_role_arn: "Arn",
        identity_pool_id: "IdentityPoolId",
        included_pages: ["Url"],
        session_sample_rate: 1.0,
        telemetries: ["errors"], # accepts errors, performance, http
      },
      cw_log_enabled: false,
      domain: "AppMonitorDomain", # required
      name: "AppMonitorName", # required
      tags: {
        "TagKey" => "TagValue",
      },
    }

@!attribute [rw] app_monitor_configuration

A structure that contains much of the configuration data for the app
monitor. 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 Amazon Web Services][1].

If you omit this argument, the sample rate used for RUM is set to
10% of the user sessions.

[1]: https://docs.aws.amazon.com/monitoring/CloudWatch-RUM-get-started-authorization.html
@return [Types::AppMonitorConfiguration]

@!attribute [rw] cw_log_enabled

Data collected by RUM is kept by RUM for 30 days and then deleted.
This parameter specifies whether 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`.
@return [Boolean]

@!attribute [rw] domain

The top-level internet domain name for which your application has
administrative authority.
@return [String]

@!attribute [rw] name

A name for the app monitor.
@return [String]

@!attribute [rw] tags

Assigns one or more tags (key-value pairs) to the app monitor.

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 Amazon Web Services and are
interpreted strictly as strings of characters.

     <p>You can associate as many as 50 tags with an app monitor.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>.</p>
@return [Hash<String,String>]

@see docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/CreateAppMonitorRequest AWS API Documentation

Constants

SENSITIVE