aws.rum.AppMonitor
Explore with Pulumi AI
Provides a CloudWatch RUM App Monitor resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.rum.AppMonitor("example", {
name: "example",
domain: "localhost",
});
import pulumi
import pulumi_aws as aws
example = aws.rum.AppMonitor("example",
name="example",
domain="localhost")
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/rum"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := rum.NewAppMonitor(ctx, "example", &rum.AppMonitorArgs{
Name: pulumi.String("example"),
Domain: pulumi.String("localhost"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Rum.AppMonitor("example", new()
{
Name = "example",
Domain = "localhost",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.rum.AppMonitor;
import com.pulumi.aws.rum.AppMonitorArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new AppMonitor("example", AppMonitorArgs.builder()
.name("example")
.domain("localhost")
.build());
}
}
resources:
example:
type: aws:rum:AppMonitor
properties:
name: example
domain: localhost
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[AppMonitorAppMonitorConfigurationArgs] = None,
custom_events: Optional[AppMonitorCustomEventsArgs] = None,
cw_log_enabled: Optional[bool] = None,
name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = 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: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.
Constructor example
The following reference example uses placeholder values for all input properties.
var appMonitorResource = new Aws.Rum.AppMonitor("appMonitorResource", new()
{
Domain = "string",
AppMonitorConfiguration = new Aws.Rum.Inputs.AppMonitorAppMonitorConfigurationArgs
{
AllowCookies = false,
EnableXray = false,
ExcludedPages = new[]
{
"string",
},
FavoritePages = new[]
{
"string",
},
GuestRoleArn = "string",
IdentityPoolId = "string",
IncludedPages = new[]
{
"string",
},
SessionSampleRate = 0,
Telemetries = new[]
{
"string",
},
},
CustomEvents = new Aws.Rum.Inputs.AppMonitorCustomEventsArgs
{
Status = "string",
},
CwLogEnabled = false,
Name = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := rum.NewAppMonitor(ctx, "appMonitorResource", &rum.AppMonitorArgs{
Domain: pulumi.String("string"),
AppMonitorConfiguration: &rum.AppMonitorAppMonitorConfigurationArgs{
AllowCookies: pulumi.Bool(false),
EnableXray: pulumi.Bool(false),
ExcludedPages: pulumi.StringArray{
pulumi.String("string"),
},
FavoritePages: pulumi.StringArray{
pulumi.String("string"),
},
GuestRoleArn: pulumi.String("string"),
IdentityPoolId: pulumi.String("string"),
IncludedPages: pulumi.StringArray{
pulumi.String("string"),
},
SessionSampleRate: pulumi.Float64(0),
Telemetries: pulumi.StringArray{
pulumi.String("string"),
},
},
CustomEvents: &rum.AppMonitorCustomEventsArgs{
Status: pulumi.String("string"),
},
CwLogEnabled: pulumi.Bool(false),
Name: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var appMonitorResource = new AppMonitor("appMonitorResource", AppMonitorArgs.builder()
.domain("string")
.appMonitorConfiguration(AppMonitorAppMonitorConfigurationArgs.builder()
.allowCookies(false)
.enableXray(false)
.excludedPages("string")
.favoritePages("string")
.guestRoleArn("string")
.identityPoolId("string")
.includedPages("string")
.sessionSampleRate(0)
.telemetries("string")
.build())
.customEvents(AppMonitorCustomEventsArgs.builder()
.status("string")
.build())
.cwLogEnabled(false)
.name("string")
.tags(Map.of("string", "string"))
.build());
app_monitor_resource = aws.rum.AppMonitor("appMonitorResource",
domain="string",
app_monitor_configuration={
"allow_cookies": False,
"enable_xray": False,
"excluded_pages": ["string"],
"favorite_pages": ["string"],
"guest_role_arn": "string",
"identity_pool_id": "string",
"included_pages": ["string"],
"session_sample_rate": 0,
"telemetries": ["string"],
},
custom_events={
"status": "string",
},
cw_log_enabled=False,
name="string",
tags={
"string": "string",
})
const appMonitorResource = new aws.rum.AppMonitor("appMonitorResource", {
domain: "string",
appMonitorConfiguration: {
allowCookies: false,
enableXray: false,
excludedPages: ["string"],
favoritePages: ["string"],
guestRoleArn: "string",
identityPoolId: "string",
includedPages: ["string"],
sessionSampleRate: 0,
telemetries: ["string"],
},
customEvents: {
status: "string",
},
cwLogEnabled: false,
name: "string",
tags: {
string: "string",
},
});
type: aws:rum:AppMonitor
properties:
appMonitorConfiguration:
allowCookies: false
enableXray: false
excludedPages:
- string
favoritePages:
- string
guestRoleArn: string
identityPoolId: string
includedPages:
- string
sessionSampleRate: 0
telemetries:
- string
customEvents:
status: string
cwLogEnabled: false
domain: string
name: string
tags:
string: string
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 AppConfiguration Monitor App Monitor Configuration - configuration data for the app monitor. See app_monitor_configuration below.
- 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
. See custom_events below. - 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 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. Default value is
false
. - Name string
- The name of the log stream.
- Dictionary<string, string>
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- Domain string
- The top-level internet domain name for which your application has administrative authority.
- App
Monitor AppConfiguration Monitor App Monitor Configuration Args - configuration data for the app monitor. See app_monitor_configuration below.
- 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
. See custom_events below. - 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 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. Default value is
false
. - Name string
- The name of the log stream.
- map[string]string
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- domain String
- The top-level internet domain name for which your application has administrative authority.
- app
Monitor AppConfiguration Monitor App Monitor Configuration - configuration data for the app monitor. See app_monitor_configuration below.
- 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
. See custom_events below. - 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 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. Default value is
false
. - name String
- The name of the log stream.
- Map<String,String>
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- domain string
- The top-level internet domain name for which your application has administrative authority.
- app
Monitor AppConfiguration Monitor App Monitor Configuration - configuration data for the app monitor. See app_monitor_configuration below.
- 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
. See custom_events below. - 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 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. Default value is
false
. - name string
- The name of the log stream.
- {[key: string]: string}
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- domain str
- The top-level internet domain name for which your application has administrative authority.
- app_
monitor_ Appconfiguration Monitor App Monitor Configuration Args - configuration data for the app monitor. See app_monitor_configuration below.
- 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
. See custom_events below. - 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 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. Default value is
false
. - name str
- The name of the log stream.
- Mapping[str, str]
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- domain String
- The top-level internet domain name for which your application has administrative authority.
- app
Monitor Property MapConfiguration - configuration data for the app monitor. See app_monitor_configuration below.
- 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
. See custom_events below. - 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 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. Default value is
false
. - name String
- The name of the log stream.
- Map<String>
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Outputs
All input properties are implicitly available as output properties. Additionally, the AppMonitor resource produces the following output properties:
- App
Monitor stringId - The unique ID of the app monitor. Useful for JS templates.
- Arn string
- The Amazon Resource Name (ARN) specifying the app monitor.
- Cw
Log stringGroup - The name of the log group where the copies are stored.
- Id string
- The provider-assigned unique ID for this managed resource.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- App
Monitor stringId - The unique ID of the app monitor. Useful for JS templates.
- Arn string
- The Amazon Resource Name (ARN) specifying the app monitor.
- Cw
Log stringGroup - The name of the log group where the copies are stored.
- Id string
- The provider-assigned unique ID for this managed resource.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- app
Monitor StringId - The unique ID of the app monitor. Useful for JS templates.
- arn String
- The Amazon Resource Name (ARN) specifying the app monitor.
- cw
Log StringGroup - The name of the log group where the copies are stored.
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- app
Monitor stringId - The unique ID of the app monitor. Useful for JS templates.
- arn string
- The Amazon Resource Name (ARN) specifying the app monitor.
- cw
Log stringGroup - The name of the log group where the copies are stored.
- id string
- The provider-assigned unique ID for this managed resource.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- app_
monitor_ strid - The unique ID of the app monitor. Useful for JS templates.
- arn str
- The Amazon Resource Name (ARN) specifying the app monitor.
- cw_
log_ strgroup - The name of the log group where the copies are stored.
- id str
- The provider-assigned unique ID for this managed resource.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- app
Monitor StringId - The unique ID of the app monitor. Useful for JS templates.
- arn String
- The Amazon Resource Name (ARN) specifying the app monitor.
- cw
Log StringGroup - The name of the log group where the copies are stored.
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
Look up Existing AppMonitor Resource
Get an existing AppMonitor resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AppMonitorState, opts?: CustomResourceOptions): AppMonitor
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
app_monitor_configuration: Optional[AppMonitorAppMonitorConfigurationArgs] = None,
app_monitor_id: Optional[str] = None,
arn: Optional[str] = None,
custom_events: Optional[AppMonitorCustomEventsArgs] = None,
cw_log_enabled: Optional[bool] = None,
cw_log_group: Optional[str] = None,
domain: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None) -> AppMonitor
func GetAppMonitor(ctx *Context, name string, id IDInput, state *AppMonitorState, opts ...ResourceOption) (*AppMonitor, error)
public static AppMonitor Get(string name, Input<string> id, AppMonitorState? state, CustomResourceOptions? opts = null)
public static AppMonitor get(String name, Output<String> id, AppMonitorState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- App
Monitor AppConfiguration Monitor App Monitor Configuration - configuration data for the app monitor. See app_monitor_configuration below.
- App
Monitor stringId - The unique ID of the app monitor. Useful for JS templates.
- Arn string
- The Amazon Resource Name (ARN) specifying the app monitor.
- 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
. See custom_events below. - 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 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. Default value is
false
. - Cw
Log stringGroup - The name of the log group where the copies are stored.
- Domain string
- The top-level internet domain name for which your application has administrative authority.
- Name string
- The name of the log stream.
- Dictionary<string, string>
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- App
Monitor AppConfiguration Monitor App Monitor Configuration Args - configuration data for the app monitor. See app_monitor_configuration below.
- App
Monitor stringId - The unique ID of the app monitor. Useful for JS templates.
- Arn string
- The Amazon Resource Name (ARN) specifying the app monitor.
- 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
. See custom_events below. - 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 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. Default value is
false
. - Cw
Log stringGroup - The name of the log group where the copies are stored.
- Domain string
- The top-level internet domain name for which your application has administrative authority.
- Name string
- The name of the log stream.
- map[string]string
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- app
Monitor AppConfiguration Monitor App Monitor Configuration - configuration data for the app monitor. See app_monitor_configuration below.
- app
Monitor StringId - The unique ID of the app monitor. Useful for JS templates.
- arn String
- The Amazon Resource Name (ARN) specifying the app monitor.
- 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
. See custom_events below. - 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 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. Default value is
false
. - cw
Log StringGroup - The name of the log group where the copies are stored.
- domain String
- The top-level internet domain name for which your application has administrative authority.
- name String
- The name of the log stream.
- Map<String,String>
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- app
Monitor AppConfiguration Monitor App Monitor Configuration - configuration data for the app monitor. See app_monitor_configuration below.
- app
Monitor stringId - The unique ID of the app monitor. Useful for JS templates.
- arn string
- The Amazon Resource Name (ARN) specifying the app monitor.
- 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
. See custom_events below. - 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 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. Default value is
false
. - cw
Log stringGroup - The name of the log group where the copies are stored.
- domain string
- The top-level internet domain name for which your application has administrative authority.
- name string
- The name of the log stream.
- {[key: string]: string}
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- app_
monitor_ Appconfiguration Monitor App Monitor Configuration Args - configuration data for the app monitor. See app_monitor_configuration below.
- app_
monitor_ strid - The unique ID of the app monitor. Useful for JS templates.
- arn str
- The Amazon Resource Name (ARN) specifying the app monitor.
- 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
. See custom_events below. - 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 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. Default value is
false
. - cw_
log_ strgroup - The name of the log group where the copies are stored.
- domain str
- The top-level internet domain name for which your application has administrative authority.
- name str
- The name of the log stream.
- Mapping[str, str]
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- app
Monitor Property MapConfiguration - configuration data for the app monitor. See app_monitor_configuration below.
- app
Monitor StringId - The unique ID of the app monitor. Useful for JS templates.
- arn String
- The Amazon Resource Name (ARN) specifying the app monitor.
- 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
. See custom_events below. - 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 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. Default value is
false
. - cw
Log StringGroup - The name of the log group where the copies are stored.
- domain String
- The top-level internet domain name for which your application has administrative authority.
- name String
- The name of the log stream.
- Map<String>
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
Supporting Types
AppMonitorAppMonitorConfiguration, AppMonitorAppMonitorConfigurationArgs
- 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. - Enable
Xray 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. - Excluded
Pages List<string> - A list of URLs in your website or application to exclude from RUM data collection.
- Favorite
Pages List<string> - A list of pages in the CloudWatch 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 Amazon Cognito identity pool that is used to authorize the sending of data to RUM.
- Identity
Pool stringId - The ID of the Amazon Cognito 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.
- 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. Default value is
0.1
. - Telemetries List<string>
- An array that lists the types of telemetry data that this app monitor is to collect. Valid values are
errors
,performance
, andhttp
.
- 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. - Enable
Xray 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. - Excluded
Pages []string - A list of URLs in your website or application to exclude from RUM data collection.
- Favorite
Pages []string - A list of pages in the CloudWatch 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 Amazon Cognito identity pool that is used to authorize the sending of data to RUM.
- Identity
Pool stringId - The ID of the Amazon Cognito 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.
- 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. Default value is
0.1
. - Telemetries []string
- An array that lists the types of telemetry data that this app monitor is to collect. Valid values are
errors
,performance
, andhttp
.
- Boolean
- 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. - enable
Xray Boolean - 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. - excluded
Pages List<String> - A list of URLs in your website or application to exclude from RUM data collection.
- favorite
Pages List<String> - A list of pages in the CloudWatch 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 Amazon Cognito identity pool that is used to authorize the sending of data to RUM.
- identity
Pool StringId - The ID of the Amazon Cognito 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.
- 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. Default value is
0.1
. - telemetries List<String>
- An array that lists the types of telemetry data that this app monitor is to collect. Valid values are
errors
,performance
, andhttp
.
- boolean
- 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. - enable
Xray boolean - 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. - excluded
Pages string[] - A list of URLs in your website or application to exclude from RUM data collection.
- favorite
Pages string[] - A list of pages in the CloudWatch 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 Amazon Cognito identity pool that is used to authorize the sending of data to RUM.
- identity
Pool stringId - The ID of the Amazon Cognito 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.
- 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. Default value is
0.1
. - telemetries string[]
- An array that lists the types of telemetry data that this app monitor is to collect. Valid values are
errors
,performance
, andhttp
.
- 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. - enable_
xray 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. - excluded_
pages Sequence[str] - A list of URLs in your website or application to exclude from RUM data collection.
- favorite_
pages Sequence[str] - A list of pages in the CloudWatch 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 Amazon Cognito identity pool that is used to authorize the sending of data to RUM.
- identity_
pool_ strid - The ID of the Amazon Cognito 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.
- 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. Default value is
0.1
. - telemetries Sequence[str]
- An array that lists the types of telemetry data that this app monitor is to collect. Valid values are
errors
,performance
, andhttp
.
- Boolean
- 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. - enable
Xray Boolean - 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. - excluded
Pages List<String> - A list of URLs in your website or application to exclude from RUM data collection.
- favorite
Pages List<String> - A list of pages in the CloudWatch 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 Amazon Cognito identity pool that is used to authorize the sending of data to RUM.
- identity
Pool StringId - The ID of the Amazon Cognito 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.
- 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. Default value is
0.1
. - telemetries List<String>
- An array that lists the types of telemetry data that this app monitor is to collect. Valid values are
errors
,performance
, andhttp
.
AppMonitorCustomEvents, AppMonitorCustomEventsArgs
- Status string
- Specifies whether this app monitor allows the web client to define and send custom events. The default is for custom events to be
DISABLED
. Valid values areDISABLED
andENABLED
.
- Status string
- Specifies whether this app monitor allows the web client to define and send custom events. The default is for custom events to be
DISABLED
. Valid values areDISABLED
andENABLED
.
- status String
- Specifies whether this app monitor allows the web client to define and send custom events. The default is for custom events to be
DISABLED
. Valid values areDISABLED
andENABLED
.
- status string
- Specifies whether this app monitor allows the web client to define and send custom events. The default is for custom events to be
DISABLED
. Valid values areDISABLED
andENABLED
.
- status str
- Specifies whether this app monitor allows the web client to define and send custom events. The default is for custom events to be
DISABLED
. Valid values areDISABLED
andENABLED
.
- status String
- Specifies whether this app monitor allows the web client to define and send custom events. The default is for custom events to be
DISABLED
. Valid values areDISABLED
andENABLED
.
Import
Using pulumi import
, import Cloudwatch RUM App Monitor using the name
. For example:
$ pulumi import aws:rum/appMonitor:AppMonitor example example
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.