Class: Aws::CloudWatchRUM::Types::CreateAppMonitorRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatchRUM::Types::CreateAppMonitorRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cloudwatchrum/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#app_monitor_configuration ⇒ Types::AppMonitorConfiguration
A structure that contains much of the configuration data for the app monitor.
-
#custom_events ⇒ Types::CustomEvents
Specifies whether this app monitor allows the web client to define and send custom events.
-
#cw_log_enabled ⇒ Boolean
Data collected by RUM is kept by RUM for 30 days and then deleted.
-
#deobfuscation_configuration ⇒ Types::DeobfuscationConfiguration
A structure that contains the configuration for how an app monitor can deobfuscate stack traces.
-
#domain ⇒ String
The top-level internet domain name for which your application has administrative authority.
-
#domain_list ⇒ Array<String>
List the domain names for which your application has administrative authority.
-
#name ⇒ String
A name for the app monitor.
-
#platform ⇒ String
The platform type for the app monitor.
-
#tags ⇒ Hash<String,String>
Assigns one or more tags (key-value pairs) to the app monitor.
Instance Attribute Details
#app_monitor_configuration ⇒ Types::AppMonitorConfiguration
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].
If you omit this argument, the sample rate used for RUM is set to 10% of the user sessions.
[1]: docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-get-started-authorization.html
656 657 658 659 660 661 662 663 664 665 666 667 668 |
# File 'lib/aws-sdk-cloudwatchrum/types.rb', line 656 class CreateAppMonitorRequest < Struct.new( :name, :domain, :domain_list, :tags, :app_monitor_configuration, :cw_log_enabled, :custom_events, :deobfuscation_configuration, :platform) SENSITIVE = [] include Aws::Structure end |
#custom_events ⇒ Types::CustomEvents
Specifies whether this app monitor allows the web client to define and send custom events. If you omit this parameter, custom events are ‘DISABLED`.
For more information about custom events, see [Send custom events].
[1]: docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-custom-events.html
656 657 658 659 660 661 662 663 664 665 666 667 668 |
# File 'lib/aws-sdk-cloudwatchrum/types.rb', line 656 class CreateAppMonitorRequest < Struct.new( :name, :domain, :domain_list, :tags, :app_monitor_configuration, :cw_log_enabled, :custom_events, :deobfuscation_configuration, :platform) SENSITIVE = [] include Aws::Structure end |
#cw_log_enabled ⇒ Boolean
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`.
656 657 658 659 660 661 662 663 664 665 666 667 668 |
# File 'lib/aws-sdk-cloudwatchrum/types.rb', line 656 class CreateAppMonitorRequest < Struct.new( :name, :domain, :domain_list, :tags, :app_monitor_configuration, :cw_log_enabled, :custom_events, :deobfuscation_configuration, :platform) SENSITIVE = [] include Aws::Structure end |
#deobfuscation_configuration ⇒ Types::DeobfuscationConfiguration
A structure that contains the configuration for how an app monitor can deobfuscate stack traces.
656 657 658 659 660 661 662 663 664 665 666 667 668 |
# File 'lib/aws-sdk-cloudwatchrum/types.rb', line 656 class CreateAppMonitorRequest < Struct.new( :name, :domain, :domain_list, :tags, :app_monitor_configuration, :cw_log_enabled, :custom_events, :deobfuscation_configuration, :platform) SENSITIVE = [] include Aws::Structure end |
#domain ⇒ String
The top-level internet domain name for which your application has administrative authority.
656 657 658 659 660 661 662 663 664 665 666 667 668 |
# File 'lib/aws-sdk-cloudwatchrum/types.rb', line 656 class CreateAppMonitorRequest < Struct.new( :name, :domain, :domain_list, :tags, :app_monitor_configuration, :cw_log_enabled, :custom_events, :deobfuscation_configuration, :platform) SENSITIVE = [] include Aws::Structure end |
#domain_list ⇒ Array<String>
List the domain names for which your application has administrative authority. The ‘CreateAppMonitor` requires either the domain or the domain list.
656 657 658 659 660 661 662 663 664 665 666 667 668 |
# File 'lib/aws-sdk-cloudwatchrum/types.rb', line 656 class CreateAppMonitorRequest < Struct.new( :name, :domain, :domain_list, :tags, :app_monitor_configuration, :cw_log_enabled, :custom_events, :deobfuscation_configuration, :platform) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
A name for the app monitor.
656 657 658 659 660 661 662 663 664 665 666 667 668 |
# File 'lib/aws-sdk-cloudwatchrum/types.rb', line 656 class CreateAppMonitorRequest < Struct.new( :name, :domain, :domain_list, :tags, :app_monitor_configuration, :cw_log_enabled, :custom_events, :deobfuscation_configuration, :platform) SENSITIVE = [] include Aws::Structure end |
#platform ⇒ String
The platform type for the app monitor. Valid values are ‘Web` for web applications, `Android` for Android applications, and `iOS` for IOS applications. If you omit this parameter, the default is `Web`.
656 657 658 659 660 661 662 663 664 665 666 667 668 |
# File 'lib/aws-sdk-cloudwatchrum/types.rb', line 656 class CreateAppMonitorRequest < Struct.new( :name, :domain, :domain_list, :tags, :app_monitor_configuration, :cw_log_enabled, :custom_events, :deobfuscation_configuration, :platform) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Hash<String,String>
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.
You can associate as many as 50 tags with an app monitor.
For more information, see [Tagging Amazon Web Services resources].
656 657 658 659 660 661 662 663 664 665 666 667 668 |
# File 'lib/aws-sdk-cloudwatchrum/types.rb', line 656 class CreateAppMonitorRequest < Struct.new( :name, :domain, :domain_list, :tags, :app_monitor_configuration, :cw_log_enabled, :custom_events, :deobfuscation_configuration, :platform) SENSITIVE = [] include Aws::Structure end |