We recommend new projects start with resources from the AWS provider.
aws-native.rum.AppMonitor
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::RUM::AppMonitor
Create AppMonitor Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AppMonitor(name: string, args: AppMonitorArgs, opts?: CustomResourceOptions);
@overload
def AppMonitor(resource_name: str,
args: AppMonitorArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AppMonitor(resource_name: str,
opts: Optional[ResourceOptions] = None,
domain: Optional[str] = None,
app_monitor_configuration: Optional[AppMonitorConfigurationArgs] = None,
custom_events: Optional[AppMonitorCustomEventsArgs] = None,
cw_log_enabled: Optional[bool] = None,
name: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewAppMonitor(ctx *Context, name string, args AppMonitorArgs, opts ...ResourceOption) (*AppMonitor, error)
public AppMonitor(string name, AppMonitorArgs args, CustomResourceOptions? opts = null)
public AppMonitor(String name, AppMonitorArgs args)
public AppMonitor(String name, AppMonitorArgs args, CustomResourceOptions options)
type: aws-native:rum:AppMonitor
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AppMonitorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AppMonitorArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AppMonitorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppMonitorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AppMonitorArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
AppMonitor Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AppMonitor resource accepts the following input properties:
- Domain string
- The top-level internet domain name for which your application has administrative authority.
- App
Monitor Pulumi.Configuration Aws Native. Rum. Inputs. 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 AWS .If you omit this argument, the sample rate used for CloudWatch RUM is set to 10% of the user sessions.
- Custom
Events Pulumi.Aws Native. Rum. Inputs. App Monitor Custom Events - Specifies whether this app monitor allows the web client to define and send custom events. If you omit this parameter, custom events are
DISABLED
. - Cw
Log boolEnabled - 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 CWLlong in your account. This enables you to keep the telemetry data for more than 30 days, but it does incur CWLlong charges. If you omit this parameter, the default is false
- Name string
- A name for the app monitor
- List<Pulumi.
Aws Native. Inputs. Tag> 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 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 .
- Domain string
- The top-level internet domain name for which your application has administrative authority.
- App
Monitor AppConfiguration Monitor Configuration Args 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 AWS .If you omit this argument, the sample rate used for CloudWatch RUM is set to 10% of the user sessions.
- Custom
Events AppMonitor Custom Events Args - Specifies whether this app monitor allows the web client to define and send custom events. If you omit this parameter, custom events are
DISABLED
. - Cw
Log boolEnabled - 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 CWLlong in your account. This enables you to keep the telemetry data for more than 30 days, but it does incur CWLlong charges. If you omit this parameter, the default is false
- Name string
- A name for the app monitor
- Tag
Args 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 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 .
- domain String
- The top-level internet domain name for which your application has administrative authority.
- app
Monitor AppConfiguration 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 AWS .If you omit this argument, the sample rate used for CloudWatch RUM is set to 10% of the user sessions.
- custom
Events AppMonitor Custom Events - Specifies whether this app monitor allows the web client to define and send custom events. If you omit this parameter, custom events are
DISABLED
. - cw
Log BooleanEnabled - 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 CWLlong in your account. This enables you to keep the telemetry data for more than 30 days, but it does incur CWLlong charges. If you omit this parameter, the default is false
- name String
- A name for the app monitor
- List<Tag>
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 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 .
- domain string
- The top-level internet domain name for which your application has administrative authority.
- app
Monitor AppConfiguration 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 AWS .If you omit this argument, the sample rate used for CloudWatch RUM is set to 10% of the user sessions.
- custom
Events AppMonitor Custom Events - Specifies whether this app monitor allows the web client to define and send custom events. If you omit this parameter, custom events are
DISABLED
. - cw
Log booleanEnabled - 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 CWLlong in your account. This enables you to keep the telemetry data for more than 30 days, but it does incur CWLlong charges. If you omit this parameter, the default is false
- name string
- A name for the app monitor
- Tag[]
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 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 .
- domain str
- The top-level internet domain name for which your application has administrative authority.
- app_
monitor_ Appconfiguration Monitor Configuration Args 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 AWS .If you omit this argument, the sample rate used for CloudWatch RUM is set to 10% of the user sessions.
- custom_
events AppMonitor Custom Events Args - Specifies whether this app monitor allows the web client to define and send custom events. If you omit this parameter, custom events are
DISABLED
. - cw_
log_ boolenabled - 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 CWLlong in your account. This enables you to keep the telemetry data for more than 30 days, but it does incur CWLlong charges. If you omit this parameter, the default is false
- name str
- A name for the app monitor
- Sequence[Tag
Args] 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 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 .
- domain String
- The top-level internet domain name for which your application has administrative authority.
- app
Monitor Property MapConfiguration 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 AWS .If you omit this argument, the sample rate used for CloudWatch RUM is set to 10% of the user sessions.
- custom
Events Property Map - Specifies whether this app monitor allows the web client to define and send custom events. If you omit this parameter, custom events are
DISABLED
. - cw
Log BooleanEnabled - 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 CWLlong in your account. This enables you to keep the telemetry data for more than 30 days, but it does incur CWLlong charges. If you omit this parameter, the default is false
- name String
- A name for the app monitor
- List<Property Map>
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 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 .
Outputs
All input properties are implicitly available as output properties. Additionally, the AppMonitor resource produces the following output properties:
Supporting Types
AppMonitorConfiguration, AppMonitorConfigurationArgs
- bool
- If you set this to true, the 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.
- Enable
XRay bool - If you set this to true, RUM enables xray tracing for the user sessions that RUM samples. RUM adds an xray trace header to allowed HTTP requests. It also records an xray segment for allowed HTTP requests. You can see traces and segments from these user sessions in the xray console and the CW ServiceLens console.
- Excluded
Pages List<string> - A list of URLs in your website or application to exclude from RUM data collection. You can't include both ExcludedPages and IncludedPages in the same operation.
- Favorite
Pages List<string> - A list of pages in the RUM console that are to be displayed with a favorite icon.
- Guest
Role stringArn - The ARN of the guest IAM role that is attached to the identity pool that is used to authorize the sending of data to RUM.
- Identity
Pool stringId - The ID of the identity pool that is used to authorize the sending of data to RUM.
- Included
Pages List<string> - If this app monitor is to collect data from only certain pages in your application, this structure lists those pages. You can't include both ExcludedPages and IncludedPages in the same operation.
- Metric
Destinations List<Pulumi.Aws Native. Rum. Inputs. App Monitor Metric Destination> - An array of structures which define the destinations and the metrics that you want to send.
- Session
Sample doubleRate - 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. If you omit this parameter, the default of 10 is used.
- Telemetries
List<Pulumi.
Aws Native. Rum. App Monitor Telemetry> - An array that lists the types of telemetry data that this app monitor is to collect.
- bool
- If you set this to true, the 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.
- Enable
XRay bool - If you set this to true, RUM enables xray tracing for the user sessions that RUM samples. RUM adds an xray trace header to allowed HTTP requests. It also records an xray segment for allowed HTTP requests. You can see traces and segments from these user sessions in the xray console and the CW ServiceLens console.
- Excluded
Pages []string - A list of URLs in your website or application to exclude from RUM data collection. You can't include both ExcludedPages and IncludedPages in the same operation.
- Favorite
Pages []string - A list of pages in the RUM console that are to be displayed with a favorite icon.
- Guest
Role stringArn - The ARN of the guest IAM role that is attached to the identity pool that is used to authorize the sending of data to RUM.
- Identity
Pool stringId - The ID of the identity pool that is used to authorize the sending of data to RUM.
- Included
Pages []string - If this app monitor is to collect data from only certain pages in your application, this structure lists those pages. You can't include both ExcludedPages and IncludedPages in the same operation.
- Metric
Destinations []AppMonitor Metric Destination - An array of structures which define the destinations and the metrics that you want to send.
- Session
Sample float64Rate - 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. If you omit this parameter, the default of 10 is used.
- Telemetries
[]App
Monitor Telemetry - An array that lists the types of telemetry data that this app monitor is to collect.
- Boolean
- If you set this to true, the 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.
- enable
XRay Boolean - If you set this to true, RUM enables xray tracing for the user sessions that RUM samples. RUM adds an xray trace header to allowed HTTP requests. It also records an xray segment for allowed HTTP requests. You can see traces and segments from these user sessions in the xray console and the CW ServiceLens console.
- excluded
Pages List<String> - A list of URLs in your website or application to exclude from RUM data collection. You can't include both ExcludedPages and IncludedPages in the same operation.
- favorite
Pages List<String> - A list of pages in the RUM console that are to be displayed with a favorite icon.
- guest
Role StringArn - The ARN of the guest IAM role that is attached to the identity pool that is used to authorize the sending of data to RUM.
- identity
Pool StringId - The ID of the identity pool that is used to authorize the sending of data to RUM.
- included
Pages List<String> - If this app monitor is to collect data from only certain pages in your application, this structure lists those pages. You can't include both ExcludedPages and IncludedPages in the same operation.
- metric
Destinations List<AppMonitor Metric Destination> - An array of structures which define the destinations and the metrics that you want to send.
- session
Sample DoubleRate - 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. If you omit this parameter, the default of 10 is used.
- telemetries
List<App
Monitor Telemetry> - An array that lists the types of telemetry data that this app monitor is to collect.
- boolean
- If you set this to true, the 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.
- enable
XRay boolean - If you set this to true, RUM enables xray tracing for the user sessions that RUM samples. RUM adds an xray trace header to allowed HTTP requests. It also records an xray segment for allowed HTTP requests. You can see traces and segments from these user sessions in the xray console and the CW ServiceLens console.
- excluded
Pages string[] - A list of URLs in your website or application to exclude from RUM data collection. You can't include both ExcludedPages and IncludedPages in the same operation.
- favorite
Pages string[] - A list of pages in the RUM console that are to be displayed with a favorite icon.
- guest
Role stringArn - The ARN of the guest IAM role that is attached to the identity pool that is used to authorize the sending of data to RUM.
- identity
Pool stringId - The ID of the identity pool that is used to authorize the sending of data to RUM.
- included
Pages string[] - If this app monitor is to collect data from only certain pages in your application, this structure lists those pages. You can't include both ExcludedPages and IncludedPages in the same operation.
- metric
Destinations AppMonitor Metric Destination[] - An array of structures which define the destinations and the metrics that you want to send.
- session
Sample numberRate - 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. If you omit this parameter, the default of 10 is used.
- telemetries
App
Monitor Telemetry[] - An array that lists the types of telemetry data that this app monitor is to collect.
- bool
- If you set this to true, the 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.
- enable_
x_ boolray - If you set this to true, RUM enables xray tracing for the user sessions that RUM samples. RUM adds an xray trace header to allowed HTTP requests. It also records an xray segment for allowed HTTP requests. You can see traces and segments from these user sessions in the xray console and the CW ServiceLens console.
- excluded_
pages Sequence[str] - A list of URLs in your website or application to exclude from RUM data collection. You can't include both ExcludedPages and IncludedPages in the same operation.
- favorite_
pages Sequence[str] - A list of pages in the RUM console that are to be displayed with a favorite icon.
- guest_
role_ strarn - The ARN of the guest IAM role that is attached to the identity pool that is used to authorize the sending of data to RUM.
- identity_
pool_ strid - The ID of the identity pool that is used to authorize the sending of data to RUM.
- included_
pages Sequence[str] - If this app monitor is to collect data from only certain pages in your application, this structure lists those pages. You can't include both ExcludedPages and IncludedPages in the same operation.
- metric_
destinations Sequence[AppMonitor Metric Destination] - An array of structures which define the destinations and the metrics that you want to send.
- session_
sample_ floatrate - 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. If you omit this parameter, the default of 10 is used.
- telemetries
Sequence[App
Monitor Telemetry] - An array that lists the types of telemetry data that this app monitor is to collect.
- Boolean
- If you set this to true, the 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.
- enable
XRay Boolean - If you set this to true, RUM enables xray tracing for the user sessions that RUM samples. RUM adds an xray trace header to allowed HTTP requests. It also records an xray segment for allowed HTTP requests. You can see traces and segments from these user sessions in the xray console and the CW ServiceLens console.
- excluded
Pages List<String> - A list of URLs in your website or application to exclude from RUM data collection. You can't include both ExcludedPages and IncludedPages in the same operation.
- favorite
Pages List<String> - A list of pages in the RUM console that are to be displayed with a favorite icon.
- guest
Role StringArn - The ARN of the guest IAM role that is attached to the identity pool that is used to authorize the sending of data to RUM.
- identity
Pool StringId - The ID of the identity pool that is used to authorize the sending of data to RUM.
- included
Pages List<String> - If this app monitor is to collect data from only certain pages in your application, this structure lists those pages. You can't include both ExcludedPages and IncludedPages in the same operation.
- metric
Destinations List<Property Map> - An array of structures which define the destinations and the metrics that you want to send.
- session
Sample NumberRate - 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. If you omit this parameter, the default of 10 is used.
- telemetries List<"errors" | "performance" | "http">
- An array that lists the types of telemetry data that this app monitor is to collect.
AppMonitorCustomEvents, AppMonitorCustomEventsArgs
- Status
Pulumi.
Aws Native. Rum. App Monitor Custom Events Status - Indicates whether AppMonitor accepts custom events.
- Status
App
Monitor Custom Events Status - Indicates whether AppMonitor accepts custom events.
- status
App
Monitor Custom Events Status - Indicates whether AppMonitor accepts custom events.
- status
App
Monitor Custom Events Status - Indicates whether AppMonitor accepts custom events.
- status
App
Monitor Custom Events Status - Indicates whether AppMonitor accepts custom events.
- status "ENABLED" | "DISABLED"
- Indicates whether AppMonitor accepts custom events.
AppMonitorCustomEventsStatus, AppMonitorCustomEventsStatusArgs
- Enabled
- ENABLED
- Disabled
- DISABLED
- App
Monitor Custom Events Status Enabled - ENABLED
- App
Monitor Custom Events Status Disabled - DISABLED
- Enabled
- ENABLED
- Disabled
- DISABLED
- Enabled
- ENABLED
- Disabled
- DISABLED
- ENABLED
- ENABLED
- DISABLED
- DISABLED
- "ENABLED"
- ENABLED
- "DISABLED"
- DISABLED
AppMonitorMetricDefinition, AppMonitorMetricDefinitionArgs
- Name string
The name for the metric that is defined in this structure. For extended metrics, valid values are the following:
PerformanceNavigationDuration
PerformanceResourceDuration
NavigationSatisfiedTransaction
NavigationToleratedTransaction
NavigationFrustratedTransaction
WebVitalsCumulativeLayoutShift
WebVitalsFirstInputDelay
WebVitalsLargestContentfulPaint
JsErrorCount
HttpErrorCount
SessionCount
- Dimension
Keys Dictionary<string, string> Use this field only if you are sending the metric to CloudWatch.
This field is a map of field paths to dimension names. It defines the dimensions to associate with this metric in CloudWatch. For extended metrics, valid values for the entries in this field are the following:
"metadata.pageId": "PageId"
"metadata.browserName": "BrowserName"
"metadata.deviceType": "DeviceType"
"metadata.osName": "OSName"
"metadata.countryCode": "CountryCode"
"event_details.fileType": "FileType"
All dimensions listed in this field must also be included in EventPattern.
- Event
Pattern string The pattern that defines the metric, specified as a JSON object. RUM checks events that happen in a user's session against the pattern, and events that match the pattern are sent to the metric destination.
When you define extended metrics, the metric definition is not valid if EventPattern is omitted.
Example event patterns:
'{ "event_type": ["com.amazon.rum.js_error_event"], "metadata": { "browserName": [ "Chrome", "Safari" ], } }'
'{ "event_type": ["com.amazon.rum.performance_navigation_event"], "metadata": { "browserName": [ "Chrome", "Firefox" ] }, "event_details": { "duration": [{ "numeric": [ "<", 2000 ] }] } }'
'{ "event_type": ["com.amazon.rum.performance_navigation_event"], "metadata": { "browserName": [ "Chrome", "Safari" ], "countryCode": [ "US" ] }, "event_details": { "duration": [{ "numeric": [ ">=", 2000, "<", 8000 ] }] } }'
If the metrics destination' is CloudWatch and the event also matches a value in DimensionKeys, then the metric is published with the specified dimensions.
- Namespace string
- The namespace used by CloudWatch Metrics for the metric that is defined in this structure
- Unit
Label string - The CloudWatch metric unit to use for this metric. If you omit this field, the metric is recorded with no unit.
- Value
Key string The field within the event object that the metric value is sourced from.
If you omit this field, a hardcoded value of 1 is pushed as the metric value. This is useful if you just want to count the number of events that the filter catches.
If this metric is sent to Evidently, this field will be passed to Evidently raw and Evidently will handle data extraction from the event.
- Name string
The name for the metric that is defined in this structure. For extended metrics, valid values are the following:
PerformanceNavigationDuration
PerformanceResourceDuration
NavigationSatisfiedTransaction
NavigationToleratedTransaction
NavigationFrustratedTransaction
WebVitalsCumulativeLayoutShift
WebVitalsFirstInputDelay
WebVitalsLargestContentfulPaint
JsErrorCount
HttpErrorCount
SessionCount
- Dimension
Keys map[string]string Use this field only if you are sending the metric to CloudWatch.
This field is a map of field paths to dimension names. It defines the dimensions to associate with this metric in CloudWatch. For extended metrics, valid values for the entries in this field are the following:
"metadata.pageId": "PageId"
"metadata.browserName": "BrowserName"
"metadata.deviceType": "DeviceType"
"metadata.osName": "OSName"
"metadata.countryCode": "CountryCode"
"event_details.fileType": "FileType"
All dimensions listed in this field must also be included in EventPattern.
- Event
Pattern string The pattern that defines the metric, specified as a JSON object. RUM checks events that happen in a user's session against the pattern, and events that match the pattern are sent to the metric destination.
When you define extended metrics, the metric definition is not valid if EventPattern is omitted.
Example event patterns:
'{ "event_type": ["com.amazon.rum.js_error_event"], "metadata": { "browserName": [ "Chrome", "Safari" ], } }'
'{ "event_type": ["com.amazon.rum.performance_navigation_event"], "metadata": { "browserName": [ "Chrome", "Firefox" ] }, "event_details": { "duration": [{ "numeric": [ "<", 2000 ] }] } }'
'{ "event_type": ["com.amazon.rum.performance_navigation_event"], "metadata": { "browserName": [ "Chrome", "Safari" ], "countryCode": [ "US" ] }, "event_details": { "duration": [{ "numeric": [ ">=", 2000, "<", 8000 ] }] } }'
If the metrics destination' is CloudWatch and the event also matches a value in DimensionKeys, then the metric is published with the specified dimensions.
- Namespace string
- The namespace used by CloudWatch Metrics for the metric that is defined in this structure
- Unit
Label string - The CloudWatch metric unit to use for this metric. If you omit this field, the metric is recorded with no unit.
- Value
Key string The field within the event object that the metric value is sourced from.
If you omit this field, a hardcoded value of 1 is pushed as the metric value. This is useful if you just want to count the number of events that the filter catches.
If this metric is sent to Evidently, this field will be passed to Evidently raw and Evidently will handle data extraction from the event.
- name String
The name for the metric that is defined in this structure. For extended metrics, valid values are the following:
PerformanceNavigationDuration
PerformanceResourceDuration
NavigationSatisfiedTransaction
NavigationToleratedTransaction
NavigationFrustratedTransaction
WebVitalsCumulativeLayoutShift
WebVitalsFirstInputDelay
WebVitalsLargestContentfulPaint
JsErrorCount
HttpErrorCount
SessionCount
- dimension
Keys Map<String,String> Use this field only if you are sending the metric to CloudWatch.
This field is a map of field paths to dimension names. It defines the dimensions to associate with this metric in CloudWatch. For extended metrics, valid values for the entries in this field are the following:
"metadata.pageId": "PageId"
"metadata.browserName": "BrowserName"
"metadata.deviceType": "DeviceType"
"metadata.osName": "OSName"
"metadata.countryCode": "CountryCode"
"event_details.fileType": "FileType"
All dimensions listed in this field must also be included in EventPattern.
- event
Pattern String The pattern that defines the metric, specified as a JSON object. RUM checks events that happen in a user's session against the pattern, and events that match the pattern are sent to the metric destination.
When you define extended metrics, the metric definition is not valid if EventPattern is omitted.
Example event patterns:
'{ "event_type": ["com.amazon.rum.js_error_event"], "metadata": { "browserName": [ "Chrome", "Safari" ], } }'
'{ "event_type": ["com.amazon.rum.performance_navigation_event"], "metadata": { "browserName": [ "Chrome", "Firefox" ] }, "event_details": { "duration": [{ "numeric": [ "<", 2000 ] }] } }'
'{ "event_type": ["com.amazon.rum.performance_navigation_event"], "metadata": { "browserName": [ "Chrome", "Safari" ], "countryCode": [ "US" ] }, "event_details": { "duration": [{ "numeric": [ ">=", 2000, "<", 8000 ] }] } }'
If the metrics destination' is CloudWatch and the event also matches a value in DimensionKeys, then the metric is published with the specified dimensions.
- namespace String
- The namespace used by CloudWatch Metrics for the metric that is defined in this structure
- unit
Label String - The CloudWatch metric unit to use for this metric. If you omit this field, the metric is recorded with no unit.
- value
Key String The field within the event object that the metric value is sourced from.
If you omit this field, a hardcoded value of 1 is pushed as the metric value. This is useful if you just want to count the number of events that the filter catches.
If this metric is sent to Evidently, this field will be passed to Evidently raw and Evidently will handle data extraction from the event.
- name string
The name for the metric that is defined in this structure. For extended metrics, valid values are the following:
PerformanceNavigationDuration
PerformanceResourceDuration
NavigationSatisfiedTransaction
NavigationToleratedTransaction
NavigationFrustratedTransaction
WebVitalsCumulativeLayoutShift
WebVitalsFirstInputDelay
WebVitalsLargestContentfulPaint
JsErrorCount
HttpErrorCount
SessionCount
- dimension
Keys {[key: string]: string} Use this field only if you are sending the metric to CloudWatch.
This field is a map of field paths to dimension names. It defines the dimensions to associate with this metric in CloudWatch. For extended metrics, valid values for the entries in this field are the following:
"metadata.pageId": "PageId"
"metadata.browserName": "BrowserName"
"metadata.deviceType": "DeviceType"
"metadata.osName": "OSName"
"metadata.countryCode": "CountryCode"
"event_details.fileType": "FileType"
All dimensions listed in this field must also be included in EventPattern.
- event
Pattern string The pattern that defines the metric, specified as a JSON object. RUM checks events that happen in a user's session against the pattern, and events that match the pattern are sent to the metric destination.
When you define extended metrics, the metric definition is not valid if EventPattern is omitted.
Example event patterns:
'{ "event_type": ["com.amazon.rum.js_error_event"], "metadata": { "browserName": [ "Chrome", "Safari" ], } }'
'{ "event_type": ["com.amazon.rum.performance_navigation_event"], "metadata": { "browserName": [ "Chrome", "Firefox" ] }, "event_details": { "duration": [{ "numeric": [ "<", 2000 ] }] } }'
'{ "event_type": ["com.amazon.rum.performance_navigation_event"], "metadata": { "browserName": [ "Chrome", "Safari" ], "countryCode": [ "US" ] }, "event_details": { "duration": [{ "numeric": [ ">=", 2000, "<", 8000 ] }] } }'
If the metrics destination' is CloudWatch and the event also matches a value in DimensionKeys, then the metric is published with the specified dimensions.
- namespace string
- The namespace used by CloudWatch Metrics for the metric that is defined in this structure
- unit
Label string - The CloudWatch metric unit to use for this metric. If you omit this field, the metric is recorded with no unit.
- value
Key string The field within the event object that the metric value is sourced from.
If you omit this field, a hardcoded value of 1 is pushed as the metric value. This is useful if you just want to count the number of events that the filter catches.
If this metric is sent to Evidently, this field will be passed to Evidently raw and Evidently will handle data extraction from the event.
- name str
The name for the metric that is defined in this structure. For extended metrics, valid values are the following:
PerformanceNavigationDuration
PerformanceResourceDuration
NavigationSatisfiedTransaction
NavigationToleratedTransaction
NavigationFrustratedTransaction
WebVitalsCumulativeLayoutShift
WebVitalsFirstInputDelay
WebVitalsLargestContentfulPaint
JsErrorCount
HttpErrorCount
SessionCount
- dimension_
keys Mapping[str, str] Use this field only if you are sending the metric to CloudWatch.
This field is a map of field paths to dimension names. It defines the dimensions to associate with this metric in CloudWatch. For extended metrics, valid values for the entries in this field are the following:
"metadata.pageId": "PageId"
"metadata.browserName": "BrowserName"
"metadata.deviceType": "DeviceType"
"metadata.osName": "OSName"
"metadata.countryCode": "CountryCode"
"event_details.fileType": "FileType"
All dimensions listed in this field must also be included in EventPattern.
- event_
pattern str The pattern that defines the metric, specified as a JSON object. RUM checks events that happen in a user's session against the pattern, and events that match the pattern are sent to the metric destination.
When you define extended metrics, the metric definition is not valid if EventPattern is omitted.
Example event patterns:
'{ "event_type": ["com.amazon.rum.js_error_event"], "metadata": { "browserName": [ "Chrome", "Safari" ], } }'
'{ "event_type": ["com.amazon.rum.performance_navigation_event"], "metadata": { "browserName": [ "Chrome", "Firefox" ] }, "event_details": { "duration": [{ "numeric": [ "<", 2000 ] }] } }'
'{ "event_type": ["com.amazon.rum.performance_navigation_event"], "metadata": { "browserName": [ "Chrome", "Safari" ], "countryCode": [ "US" ] }, "event_details": { "duration": [{ "numeric": [ ">=", 2000, "<", 8000 ] }] } }'
If the metrics destination' is CloudWatch and the event also matches a value in DimensionKeys, then the metric is published with the specified dimensions.
- namespace str
- The namespace used by CloudWatch Metrics for the metric that is defined in this structure
- unit_
label str - The CloudWatch metric unit to use for this metric. If you omit this field, the metric is recorded with no unit.
- value_
key str The field within the event object that the metric value is sourced from.
If you omit this field, a hardcoded value of 1 is pushed as the metric value. This is useful if you just want to count the number of events that the filter catches.
If this metric is sent to Evidently, this field will be passed to Evidently raw and Evidently will handle data extraction from the event.
- name String
The name for the metric that is defined in this structure. For extended metrics, valid values are the following:
PerformanceNavigationDuration
PerformanceResourceDuration
NavigationSatisfiedTransaction
NavigationToleratedTransaction
NavigationFrustratedTransaction
WebVitalsCumulativeLayoutShift
WebVitalsFirstInputDelay
WebVitalsLargestContentfulPaint
JsErrorCount
HttpErrorCount
SessionCount
- dimension
Keys Map<String> Use this field only if you are sending the metric to CloudWatch.
This field is a map of field paths to dimension names. It defines the dimensions to associate with this metric in CloudWatch. For extended metrics, valid values for the entries in this field are the following:
"metadata.pageId": "PageId"
"metadata.browserName": "BrowserName"
"metadata.deviceType": "DeviceType"
"metadata.osName": "OSName"
"metadata.countryCode": "CountryCode"
"event_details.fileType": "FileType"
All dimensions listed in this field must also be included in EventPattern.
- event
Pattern String The pattern that defines the metric, specified as a JSON object. RUM checks events that happen in a user's session against the pattern, and events that match the pattern are sent to the metric destination.
When you define extended metrics, the metric definition is not valid if EventPattern is omitted.
Example event patterns:
'{ "event_type": ["com.amazon.rum.js_error_event"], "metadata": { "browserName": [ "Chrome", "Safari" ], } }'
'{ "event_type": ["com.amazon.rum.performance_navigation_event"], "metadata": { "browserName": [ "Chrome", "Firefox" ] }, "event_details": { "duration": [{ "numeric": [ "<", 2000 ] }] } }'
'{ "event_type": ["com.amazon.rum.performance_navigation_event"], "metadata": { "browserName": [ "Chrome", "Safari" ], "countryCode": [ "US" ] }, "event_details": { "duration": [{ "numeric": [ ">=", 2000, "<", 8000 ] }] } }'
If the metrics destination' is CloudWatch and the event also matches a value in DimensionKeys, then the metric is published with the specified dimensions.
- namespace String
- The namespace used by CloudWatch Metrics for the metric that is defined in this structure
- unit
Label String - The CloudWatch metric unit to use for this metric. If you omit this field, the metric is recorded with no unit.
- value
Key String The field within the event object that the metric value is sourced from.
If you omit this field, a hardcoded value of 1 is pushed as the metric value. This is useful if you just want to count the number of events that the filter catches.
If this metric is sent to Evidently, this field will be passed to Evidently raw and Evidently will handle data extraction from the event.
AppMonitorMetricDestination, AppMonitorMetricDestinationArgs
- Destination
Pulumi.
Aws Native. Rum. App Monitor Metric Destination Destination - Defines the destination to send the metrics to. Valid values are CloudWatch and Evidently. If you specify Evidently, you must also specify the ARN of the Evidently experiment that is to be the destination and an IAM role that has permission to write to the experiment.
- Destination
Arn string - Use this parameter only if Destination is Evidently. This parameter specifies the ARN of the Evidently experiment that will receive the extended metrics.
- Iam
Role stringArn This parameter is required if Destination is Evidently. If Destination is CloudWatch, do not use this parameter.
This parameter specifies the ARN of an IAM role that RUM will assume to write to the Evidently experiment that you are sending metrics to. This role must have permission to write to that experiment.
- Metric
Definitions List<Pulumi.Aws Native. Rum. Inputs. App Monitor Metric Definition> - An array of structures which define the metrics that you want to send.
- Destination
App
Monitor Metric Destination Destination - Defines the destination to send the metrics to. Valid values are CloudWatch and Evidently. If you specify Evidently, you must also specify the ARN of the Evidently experiment that is to be the destination and an IAM role that has permission to write to the experiment.
- Destination
Arn string - Use this parameter only if Destination is Evidently. This parameter specifies the ARN of the Evidently experiment that will receive the extended metrics.
- Iam
Role stringArn This parameter is required if Destination is Evidently. If Destination is CloudWatch, do not use this parameter.
This parameter specifies the ARN of an IAM role that RUM will assume to write to the Evidently experiment that you are sending metrics to. This role must have permission to write to that experiment.
- Metric
Definitions []AppMonitor Metric Definition - An array of structures which define the metrics that you want to send.
- destination
App
Monitor Metric Destination Destination - Defines the destination to send the metrics to. Valid values are CloudWatch and Evidently. If you specify Evidently, you must also specify the ARN of the Evidently experiment that is to be the destination and an IAM role that has permission to write to the experiment.
- destination
Arn String - Use this parameter only if Destination is Evidently. This parameter specifies the ARN of the Evidently experiment that will receive the extended metrics.
- iam
Role StringArn This parameter is required if Destination is Evidently. If Destination is CloudWatch, do not use this parameter.
This parameter specifies the ARN of an IAM role that RUM will assume to write to the Evidently experiment that you are sending metrics to. This role must have permission to write to that experiment.
- metric
Definitions List<AppMonitor Metric Definition> - An array of structures which define the metrics that you want to send.
- destination
App
Monitor Metric Destination Destination - Defines the destination to send the metrics to. Valid values are CloudWatch and Evidently. If you specify Evidently, you must also specify the ARN of the Evidently experiment that is to be the destination and an IAM role that has permission to write to the experiment.
- destination
Arn string - Use this parameter only if Destination is Evidently. This parameter specifies the ARN of the Evidently experiment that will receive the extended metrics.
- iam
Role stringArn This parameter is required if Destination is Evidently. If Destination is CloudWatch, do not use this parameter.
This parameter specifies the ARN of an IAM role that RUM will assume to write to the Evidently experiment that you are sending metrics to. This role must have permission to write to that experiment.
- metric
Definitions AppMonitor Metric Definition[] - An array of structures which define the metrics that you want to send.
- destination
App
Monitor Metric Destination Destination - Defines the destination to send the metrics to. Valid values are CloudWatch and Evidently. If you specify Evidently, you must also specify the ARN of the Evidently experiment that is to be the destination and an IAM role that has permission to write to the experiment.
- destination_
arn str - Use this parameter only if Destination is Evidently. This parameter specifies the ARN of the Evidently experiment that will receive the extended metrics.
- iam_
role_ strarn This parameter is required if Destination is Evidently. If Destination is CloudWatch, do not use this parameter.
This parameter specifies the ARN of an IAM role that RUM will assume to write to the Evidently experiment that you are sending metrics to. This role must have permission to write to that experiment.
- metric_
definitions Sequence[AppMonitor Metric Definition] - An array of structures which define the metrics that you want to send.
- destination
"Cloud
Watch" | "Evidently" - Defines the destination to send the metrics to. Valid values are CloudWatch and Evidently. If you specify Evidently, you must also specify the ARN of the Evidently experiment that is to be the destination and an IAM role that has permission to write to the experiment.
- destination
Arn String - Use this parameter only if Destination is Evidently. This parameter specifies the ARN of the Evidently experiment that will receive the extended metrics.
- iam
Role StringArn This parameter is required if Destination is Evidently. If Destination is CloudWatch, do not use this parameter.
This parameter specifies the ARN of an IAM role that RUM will assume to write to the Evidently experiment that you are sending metrics to. This role must have permission to write to that experiment.
- metric
Definitions List<Property Map> - An array of structures which define the metrics that you want to send.
AppMonitorMetricDestinationDestination, AppMonitorMetricDestinationDestinationArgs
- Cloud
Watch - CloudWatch
- Evidently
- Evidently
- App
Monitor Metric Destination Destination Cloud Watch - CloudWatch
- App
Monitor Metric Destination Destination Evidently - Evidently
- Cloud
Watch - CloudWatch
- Evidently
- Evidently
- Cloud
Watch - CloudWatch
- Evidently
- Evidently
- CLOUD_WATCH
- CloudWatch
- EVIDENTLY
- Evidently
- "Cloud
Watch" - CloudWatch
- "Evidently"
- Evidently
AppMonitorTelemetry, AppMonitorTelemetryArgs
- Errors
- errors
- Performance
- performance
- Http
- http
- App
Monitor Telemetry Errors - errors
- App
Monitor Telemetry Performance - performance
- App
Monitor Telemetry Http - http
- Errors
- errors
- Performance
- performance
- Http
- http
- Errors
- errors
- Performance
- performance
- Http
- http
- ERRORS
- errors
- PERFORMANCE
- performance
- HTTP
- http
- "errors"
- errors
- "performance"
- performance
- "http"
- http
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.