We recommend new projects start with resources from the AWS provider.
aws-native.internetmonitor.Monitor
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Represents a monitor, which defines the monitoring boundaries for measurements that Internet Monitor publishes information about for an application
Create Monitor Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Monitor(name: string, args?: MonitorArgs, opts?: CustomResourceOptions);
@overload
def Monitor(resource_name: str,
args: Optional[MonitorArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Monitor(resource_name: str,
opts: Optional[ResourceOptions] = None,
health_events_config: Optional[MonitorHealthEventsConfigArgs] = None,
include_linked_accounts: Optional[bool] = None,
internet_measurements_log_delivery: Optional[MonitorInternetMeasurementsLogDeliveryArgs] = None,
linked_account_id: Optional[str] = None,
max_city_networks_to_monitor: Optional[int] = None,
monitor_name: Optional[str] = None,
resources: Optional[Sequence[str]] = None,
resources_to_add: Optional[Sequence[str]] = None,
resources_to_remove: Optional[Sequence[str]] = None,
status: Optional[MonitorConfigState] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
traffic_percentage_to_monitor: Optional[int] = None)
func NewMonitor(ctx *Context, name string, args *MonitorArgs, opts ...ResourceOption) (*Monitor, error)
public Monitor(string name, MonitorArgs? args = null, CustomResourceOptions? opts = null)
public Monitor(String name, MonitorArgs args)
public Monitor(String name, MonitorArgs args, CustomResourceOptions options)
type: aws-native:internetmonitor:Monitor
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 MonitorArgs
- 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 MonitorArgs
- 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 MonitorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MonitorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MonitorArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Monitor 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 Monitor resource accepts the following input properties:
- Health
Events Pulumi.Config Aws Native. Internet Monitor. Inputs. Monitor Health Events Config A complex type with the configuration information that determines the threshold and other conditions for when Internet Monitor creates a health event for an overall performance or availability issue, across an application's geographies.
Defines the percentages, for overall performance scores and availability scores for an application, that are the thresholds for when Amazon CloudWatch Internet Monitor creates a health event. You can override the defaults to set a custom threshold for overall performance or availability scores, or both.
You can also set thresholds for local health scores,, where Internet Monitor creates a health event when scores cross a threshold for one or more city-networks, in addition to creating an event when an overall score crosses a threshold.
If you don't set a health event threshold, the default value is 95%.
For local thresholds, you also set a minimum percentage of overall traffic that is impacted by an issue before Internet Monitor creates an event. In addition, you can disable local thresholds, for performance scores, availability scores, or both.
For more information, see Change health event thresholds in the Internet Monitor section of the CloudWatch User Guide .
- Include
Linked boolAccounts - A boolean option that you can set to
TRUE
to include monitors for linked accounts in a list of monitors, when you've set up cross-account sharing in Internet Monitor. You configure cross-account sharing by using Amazon CloudWatch Observability Access Manager. For more information, see Internet Monitor cross-account observability in the Amazon CloudWatch User Guide. - Internet
Measurements Pulumi.Log Delivery Aws Native. Internet Monitor. Inputs. Monitor Internet Measurements Log Delivery - Publish internet measurements for a monitor for all city-networks (up to the 500,000 service limit) to another location, such as an Amazon S3 bucket. Measurements are also published to Amazon CloudWatch Logs for the first 500 (by traffic volume) city-networks (client locations and ASNs, typically internet service providers or ISPs).
- Linked
Account stringId - The account ID for an account that you've set up cross-account sharing for in Internet Monitor. You configure cross-account sharing by using Amazon CloudWatch Observability Access Manager. For more information, see Internet Monitor cross-account observability in the Amazon CloudWatch User Guide.
- Max
City intNetworks To Monitor The maximum number of city-networks to monitor for your resources. A city-network is the location (city) where clients access your application resources from and the network, such as an internet service provider, that clients access the resources through.
For more information, see Choosing a city-network maximum value in Using Amazon CloudWatch Internet Monitor .
- Monitor
Name string - The name of the monitor. A monitor name can contain only alphanumeric characters, dashes (-), periods (.), and underscores (_).
- Resources List<string>
The resources that have been added for the monitor, listed by their Amazon Resource Names (ARNs). Use this option to add or remove resources when making an update.
Be aware that if you include content in the
Resources
field when you update a monitor, theResourcesToAdd
andResourcesToRemove
fields must be empty.- Resources
To List<string>Add The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs). Resources can be Amazon Virtual Private Cloud VPCs, Network Load Balancers (NLBs), Amazon CloudFront distributions, or Amazon WorkSpaces directories.
You can add a combination of VPCs and CloudFront distributions, or you can add WorkSpaces directories, or you can add NLBs. You can't add NLBs or WorkSpaces directories together with any other resources.
If you add only VPC resources, at least one VPC must have an Internet Gateway attached to it, to make sure that it has internet connectivity.
You can specify this field for a monitor update only if the
Resources
field is empty.- Resources
To List<string>Remove The resources to remove from a monitor, which you provide as a set of Amazon Resource Names (ARNs)
You can specify this field for a monitor update only if the
Resources
field is empty.- Status
Pulumi.
Aws Native. Internet Monitor. Monitor Config State - The status of a monitor. The accepted values that you can specify for
Status
areACTIVE
andINACTIVE
. - List<Pulumi.
Aws Native. Inputs. Tag> - The tags for a monitor, listed as a set of key:value pairs.
- Traffic
Percentage intTo Monitor - The percentage of the internet-facing traffic for your application that you want to monitor. You can also, optionally, set a limit for the number of city-networks (client locations and ASNs, typically internet service providers) that Internet Monitor will monitor traffic for. The city-networks maximum limit caps the number of city-networks that Internet Monitor monitors for your application, regardless of the percentage of traffic that you choose to monitor.
- Health
Events MonitorConfig Health Events Config Args A complex type with the configuration information that determines the threshold and other conditions for when Internet Monitor creates a health event for an overall performance or availability issue, across an application's geographies.
Defines the percentages, for overall performance scores and availability scores for an application, that are the thresholds for when Amazon CloudWatch Internet Monitor creates a health event. You can override the defaults to set a custom threshold for overall performance or availability scores, or both.
You can also set thresholds for local health scores,, where Internet Monitor creates a health event when scores cross a threshold for one or more city-networks, in addition to creating an event when an overall score crosses a threshold.
If you don't set a health event threshold, the default value is 95%.
For local thresholds, you also set a minimum percentage of overall traffic that is impacted by an issue before Internet Monitor creates an event. In addition, you can disable local thresholds, for performance scores, availability scores, or both.
For more information, see Change health event thresholds in the Internet Monitor section of the CloudWatch User Guide .
- Include
Linked boolAccounts - A boolean option that you can set to
TRUE
to include monitors for linked accounts in a list of monitors, when you've set up cross-account sharing in Internet Monitor. You configure cross-account sharing by using Amazon CloudWatch Observability Access Manager. For more information, see Internet Monitor cross-account observability in the Amazon CloudWatch User Guide. - Internet
Measurements MonitorLog Delivery Internet Measurements Log Delivery Args - Publish internet measurements for a monitor for all city-networks (up to the 500,000 service limit) to another location, such as an Amazon S3 bucket. Measurements are also published to Amazon CloudWatch Logs for the first 500 (by traffic volume) city-networks (client locations and ASNs, typically internet service providers or ISPs).
- Linked
Account stringId - The account ID for an account that you've set up cross-account sharing for in Internet Monitor. You configure cross-account sharing by using Amazon CloudWatch Observability Access Manager. For more information, see Internet Monitor cross-account observability in the Amazon CloudWatch User Guide.
- Max
City intNetworks To Monitor The maximum number of city-networks to monitor for your resources. A city-network is the location (city) where clients access your application resources from and the network, such as an internet service provider, that clients access the resources through.
For more information, see Choosing a city-network maximum value in Using Amazon CloudWatch Internet Monitor .
- Monitor
Name string - The name of the monitor. A monitor name can contain only alphanumeric characters, dashes (-), periods (.), and underscores (_).
- Resources []string
The resources that have been added for the monitor, listed by their Amazon Resource Names (ARNs). Use this option to add or remove resources when making an update.
Be aware that if you include content in the
Resources
field when you update a monitor, theResourcesToAdd
andResourcesToRemove
fields must be empty.- Resources
To []stringAdd The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs). Resources can be Amazon Virtual Private Cloud VPCs, Network Load Balancers (NLBs), Amazon CloudFront distributions, or Amazon WorkSpaces directories.
You can add a combination of VPCs and CloudFront distributions, or you can add WorkSpaces directories, or you can add NLBs. You can't add NLBs or WorkSpaces directories together with any other resources.
If you add only VPC resources, at least one VPC must have an Internet Gateway attached to it, to make sure that it has internet connectivity.
You can specify this field for a monitor update only if the
Resources
field is empty.- Resources
To []stringRemove The resources to remove from a monitor, which you provide as a set of Amazon Resource Names (ARNs)
You can specify this field for a monitor update only if the
Resources
field is empty.- Status
Monitor
Config State - The status of a monitor. The accepted values that you can specify for
Status
areACTIVE
andINACTIVE
. - Tag
Args - The tags for a monitor, listed as a set of key:value pairs.
- Traffic
Percentage intTo Monitor - The percentage of the internet-facing traffic for your application that you want to monitor. You can also, optionally, set a limit for the number of city-networks (client locations and ASNs, typically internet service providers) that Internet Monitor will monitor traffic for. The city-networks maximum limit caps the number of city-networks that Internet Monitor monitors for your application, regardless of the percentage of traffic that you choose to monitor.
- health
Events MonitorConfig Health Events Config A complex type with the configuration information that determines the threshold and other conditions for when Internet Monitor creates a health event for an overall performance or availability issue, across an application's geographies.
Defines the percentages, for overall performance scores and availability scores for an application, that are the thresholds for when Amazon CloudWatch Internet Monitor creates a health event. You can override the defaults to set a custom threshold for overall performance or availability scores, or both.
You can also set thresholds for local health scores,, where Internet Monitor creates a health event when scores cross a threshold for one or more city-networks, in addition to creating an event when an overall score crosses a threshold.
If you don't set a health event threshold, the default value is 95%.
For local thresholds, you also set a minimum percentage of overall traffic that is impacted by an issue before Internet Monitor creates an event. In addition, you can disable local thresholds, for performance scores, availability scores, or both.
For more information, see Change health event thresholds in the Internet Monitor section of the CloudWatch User Guide .
- include
Linked BooleanAccounts - A boolean option that you can set to
TRUE
to include monitors for linked accounts in a list of monitors, when you've set up cross-account sharing in Internet Monitor. You configure cross-account sharing by using Amazon CloudWatch Observability Access Manager. For more information, see Internet Monitor cross-account observability in the Amazon CloudWatch User Guide. - internet
Measurements MonitorLog Delivery Internet Measurements Log Delivery - Publish internet measurements for a monitor for all city-networks (up to the 500,000 service limit) to another location, such as an Amazon S3 bucket. Measurements are also published to Amazon CloudWatch Logs for the first 500 (by traffic volume) city-networks (client locations and ASNs, typically internet service providers or ISPs).
- linked
Account StringId - The account ID for an account that you've set up cross-account sharing for in Internet Monitor. You configure cross-account sharing by using Amazon CloudWatch Observability Access Manager. For more information, see Internet Monitor cross-account observability in the Amazon CloudWatch User Guide.
- max
City IntegerNetworks To Monitor The maximum number of city-networks to monitor for your resources. A city-network is the location (city) where clients access your application resources from and the network, such as an internet service provider, that clients access the resources through.
For more information, see Choosing a city-network maximum value in Using Amazon CloudWatch Internet Monitor .
- monitor
Name String - The name of the monitor. A monitor name can contain only alphanumeric characters, dashes (-), periods (.), and underscores (_).
- resources List<String>
The resources that have been added for the monitor, listed by their Amazon Resource Names (ARNs). Use this option to add or remove resources when making an update.
Be aware that if you include content in the
Resources
field when you update a monitor, theResourcesToAdd
andResourcesToRemove
fields must be empty.- resources
To List<String>Add The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs). Resources can be Amazon Virtual Private Cloud VPCs, Network Load Balancers (NLBs), Amazon CloudFront distributions, or Amazon WorkSpaces directories.
You can add a combination of VPCs and CloudFront distributions, or you can add WorkSpaces directories, or you can add NLBs. You can't add NLBs or WorkSpaces directories together with any other resources.
If you add only VPC resources, at least one VPC must have an Internet Gateway attached to it, to make sure that it has internet connectivity.
You can specify this field for a monitor update only if the
Resources
field is empty.- resources
To List<String>Remove The resources to remove from a monitor, which you provide as a set of Amazon Resource Names (ARNs)
You can specify this field for a monitor update only if the
Resources
field is empty.- status
Monitor
Config State - The status of a monitor. The accepted values that you can specify for
Status
areACTIVE
andINACTIVE
. - List<Tag>
- The tags for a monitor, listed as a set of key:value pairs.
- traffic
Percentage IntegerTo Monitor - The percentage of the internet-facing traffic for your application that you want to monitor. You can also, optionally, set a limit for the number of city-networks (client locations and ASNs, typically internet service providers) that Internet Monitor will monitor traffic for. The city-networks maximum limit caps the number of city-networks that Internet Monitor monitors for your application, regardless of the percentage of traffic that you choose to monitor.
- health
Events MonitorConfig Health Events Config A complex type with the configuration information that determines the threshold and other conditions for when Internet Monitor creates a health event for an overall performance or availability issue, across an application's geographies.
Defines the percentages, for overall performance scores and availability scores for an application, that are the thresholds for when Amazon CloudWatch Internet Monitor creates a health event. You can override the defaults to set a custom threshold for overall performance or availability scores, or both.
You can also set thresholds for local health scores,, where Internet Monitor creates a health event when scores cross a threshold for one or more city-networks, in addition to creating an event when an overall score crosses a threshold.
If you don't set a health event threshold, the default value is 95%.
For local thresholds, you also set a minimum percentage of overall traffic that is impacted by an issue before Internet Monitor creates an event. In addition, you can disable local thresholds, for performance scores, availability scores, or both.
For more information, see Change health event thresholds in the Internet Monitor section of the CloudWatch User Guide .
- include
Linked booleanAccounts - A boolean option that you can set to
TRUE
to include monitors for linked accounts in a list of monitors, when you've set up cross-account sharing in Internet Monitor. You configure cross-account sharing by using Amazon CloudWatch Observability Access Manager. For more information, see Internet Monitor cross-account observability in the Amazon CloudWatch User Guide. - internet
Measurements MonitorLog Delivery Internet Measurements Log Delivery - Publish internet measurements for a monitor for all city-networks (up to the 500,000 service limit) to another location, such as an Amazon S3 bucket. Measurements are also published to Amazon CloudWatch Logs for the first 500 (by traffic volume) city-networks (client locations and ASNs, typically internet service providers or ISPs).
- linked
Account stringId - The account ID for an account that you've set up cross-account sharing for in Internet Monitor. You configure cross-account sharing by using Amazon CloudWatch Observability Access Manager. For more information, see Internet Monitor cross-account observability in the Amazon CloudWatch User Guide.
- max
City numberNetworks To Monitor The maximum number of city-networks to monitor for your resources. A city-network is the location (city) where clients access your application resources from and the network, such as an internet service provider, that clients access the resources through.
For more information, see Choosing a city-network maximum value in Using Amazon CloudWatch Internet Monitor .
- monitor
Name string - The name of the monitor. A monitor name can contain only alphanumeric characters, dashes (-), periods (.), and underscores (_).
- resources string[]
The resources that have been added for the monitor, listed by their Amazon Resource Names (ARNs). Use this option to add or remove resources when making an update.
Be aware that if you include content in the
Resources
field when you update a monitor, theResourcesToAdd
andResourcesToRemove
fields must be empty.- resources
To string[]Add The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs). Resources can be Amazon Virtual Private Cloud VPCs, Network Load Balancers (NLBs), Amazon CloudFront distributions, or Amazon WorkSpaces directories.
You can add a combination of VPCs and CloudFront distributions, or you can add WorkSpaces directories, or you can add NLBs. You can't add NLBs or WorkSpaces directories together with any other resources.
If you add only VPC resources, at least one VPC must have an Internet Gateway attached to it, to make sure that it has internet connectivity.
You can specify this field for a monitor update only if the
Resources
field is empty.- resources
To string[]Remove The resources to remove from a monitor, which you provide as a set of Amazon Resource Names (ARNs)
You can specify this field for a monitor update only if the
Resources
field is empty.- status
Monitor
Config State - The status of a monitor. The accepted values that you can specify for
Status
areACTIVE
andINACTIVE
. - Tag[]
- The tags for a monitor, listed as a set of key:value pairs.
- traffic
Percentage numberTo Monitor - The percentage of the internet-facing traffic for your application that you want to monitor. You can also, optionally, set a limit for the number of city-networks (client locations and ASNs, typically internet service providers) that Internet Monitor will monitor traffic for. The city-networks maximum limit caps the number of city-networks that Internet Monitor monitors for your application, regardless of the percentage of traffic that you choose to monitor.
- health_
events_ Monitorconfig Health Events Config Args A complex type with the configuration information that determines the threshold and other conditions for when Internet Monitor creates a health event for an overall performance or availability issue, across an application's geographies.
Defines the percentages, for overall performance scores and availability scores for an application, that are the thresholds for when Amazon CloudWatch Internet Monitor creates a health event. You can override the defaults to set a custom threshold for overall performance or availability scores, or both.
You can also set thresholds for local health scores,, where Internet Monitor creates a health event when scores cross a threshold for one or more city-networks, in addition to creating an event when an overall score crosses a threshold.
If you don't set a health event threshold, the default value is 95%.
For local thresholds, you also set a minimum percentage of overall traffic that is impacted by an issue before Internet Monitor creates an event. In addition, you can disable local thresholds, for performance scores, availability scores, or both.
For more information, see Change health event thresholds in the Internet Monitor section of the CloudWatch User Guide .
- include_
linked_ boolaccounts - A boolean option that you can set to
TRUE
to include monitors for linked accounts in a list of monitors, when you've set up cross-account sharing in Internet Monitor. You configure cross-account sharing by using Amazon CloudWatch Observability Access Manager. For more information, see Internet Monitor cross-account observability in the Amazon CloudWatch User Guide. - internet_
measurements_ Monitorlog_ delivery Internet Measurements Log Delivery Args - Publish internet measurements for a monitor for all city-networks (up to the 500,000 service limit) to another location, such as an Amazon S3 bucket. Measurements are also published to Amazon CloudWatch Logs for the first 500 (by traffic volume) city-networks (client locations and ASNs, typically internet service providers or ISPs).
- linked_
account_ strid - The account ID for an account that you've set up cross-account sharing for in Internet Monitor. You configure cross-account sharing by using Amazon CloudWatch Observability Access Manager. For more information, see Internet Monitor cross-account observability in the Amazon CloudWatch User Guide.
- max_
city_ intnetworks_ to_ monitor The maximum number of city-networks to monitor for your resources. A city-network is the location (city) where clients access your application resources from and the network, such as an internet service provider, that clients access the resources through.
For more information, see Choosing a city-network maximum value in Using Amazon CloudWatch Internet Monitor .
- monitor_
name str - The name of the monitor. A monitor name can contain only alphanumeric characters, dashes (-), periods (.), and underscores (_).
- resources Sequence[str]
The resources that have been added for the monitor, listed by their Amazon Resource Names (ARNs). Use this option to add or remove resources when making an update.
Be aware that if you include content in the
Resources
field when you update a monitor, theResourcesToAdd
andResourcesToRemove
fields must be empty.- resources_
to_ Sequence[str]add The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs). Resources can be Amazon Virtual Private Cloud VPCs, Network Load Balancers (NLBs), Amazon CloudFront distributions, or Amazon WorkSpaces directories.
You can add a combination of VPCs and CloudFront distributions, or you can add WorkSpaces directories, or you can add NLBs. You can't add NLBs or WorkSpaces directories together with any other resources.
If you add only VPC resources, at least one VPC must have an Internet Gateway attached to it, to make sure that it has internet connectivity.
You can specify this field for a monitor update only if the
Resources
field is empty.- resources_
to_ Sequence[str]remove The resources to remove from a monitor, which you provide as a set of Amazon Resource Names (ARNs)
You can specify this field for a monitor update only if the
Resources
field is empty.- status
Monitor
Config State - The status of a monitor. The accepted values that you can specify for
Status
areACTIVE
andINACTIVE
. - Sequence[Tag
Args] - The tags for a monitor, listed as a set of key:value pairs.
- traffic_
percentage_ intto_ monitor - The percentage of the internet-facing traffic for your application that you want to monitor. You can also, optionally, set a limit for the number of city-networks (client locations and ASNs, typically internet service providers) that Internet Monitor will monitor traffic for. The city-networks maximum limit caps the number of city-networks that Internet Monitor monitors for your application, regardless of the percentage of traffic that you choose to monitor.
- health
Events Property MapConfig A complex type with the configuration information that determines the threshold and other conditions for when Internet Monitor creates a health event for an overall performance or availability issue, across an application's geographies.
Defines the percentages, for overall performance scores and availability scores for an application, that are the thresholds for when Amazon CloudWatch Internet Monitor creates a health event. You can override the defaults to set a custom threshold for overall performance or availability scores, or both.
You can also set thresholds for local health scores,, where Internet Monitor creates a health event when scores cross a threshold for one or more city-networks, in addition to creating an event when an overall score crosses a threshold.
If you don't set a health event threshold, the default value is 95%.
For local thresholds, you also set a minimum percentage of overall traffic that is impacted by an issue before Internet Monitor creates an event. In addition, you can disable local thresholds, for performance scores, availability scores, or both.
For more information, see Change health event thresholds in the Internet Monitor section of the CloudWatch User Guide .
- include
Linked BooleanAccounts - A boolean option that you can set to
TRUE
to include monitors for linked accounts in a list of monitors, when you've set up cross-account sharing in Internet Monitor. You configure cross-account sharing by using Amazon CloudWatch Observability Access Manager. For more information, see Internet Monitor cross-account observability in the Amazon CloudWatch User Guide. - internet
Measurements Property MapLog Delivery - Publish internet measurements for a monitor for all city-networks (up to the 500,000 service limit) to another location, such as an Amazon S3 bucket. Measurements are also published to Amazon CloudWatch Logs for the first 500 (by traffic volume) city-networks (client locations and ASNs, typically internet service providers or ISPs).
- linked
Account StringId - The account ID for an account that you've set up cross-account sharing for in Internet Monitor. You configure cross-account sharing by using Amazon CloudWatch Observability Access Manager. For more information, see Internet Monitor cross-account observability in the Amazon CloudWatch User Guide.
- max
City NumberNetworks To Monitor The maximum number of city-networks to monitor for your resources. A city-network is the location (city) where clients access your application resources from and the network, such as an internet service provider, that clients access the resources through.
For more information, see Choosing a city-network maximum value in Using Amazon CloudWatch Internet Monitor .
- monitor
Name String - The name of the monitor. A monitor name can contain only alphanumeric characters, dashes (-), periods (.), and underscores (_).
- resources List<String>
The resources that have been added for the monitor, listed by their Amazon Resource Names (ARNs). Use this option to add or remove resources when making an update.
Be aware that if you include content in the
Resources
field when you update a monitor, theResourcesToAdd
andResourcesToRemove
fields must be empty.- resources
To List<String>Add The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs). Resources can be Amazon Virtual Private Cloud VPCs, Network Load Balancers (NLBs), Amazon CloudFront distributions, or Amazon WorkSpaces directories.
You can add a combination of VPCs and CloudFront distributions, or you can add WorkSpaces directories, or you can add NLBs. You can't add NLBs or WorkSpaces directories together with any other resources.
If you add only VPC resources, at least one VPC must have an Internet Gateway attached to it, to make sure that it has internet connectivity.
You can specify this field for a monitor update only if the
Resources
field is empty.- resources
To List<String>Remove The resources to remove from a monitor, which you provide as a set of Amazon Resource Names (ARNs)
You can specify this field for a monitor update only if the
Resources
field is empty.- status "PENDING" | "ACTIVE" | "INACTIVE" | "ERROR"
- The status of a monitor. The accepted values that you can specify for
Status
areACTIVE
andINACTIVE
. - List<Property Map>
- The tags for a monitor, listed as a set of key:value pairs.
- traffic
Percentage NumberTo Monitor - The percentage of the internet-facing traffic for your application that you want to monitor. You can also, optionally, set a limit for the number of city-networks (client locations and ASNs, typically internet service providers) that Internet Monitor will monitor traffic for. The city-networks maximum limit caps the number of city-networks that Internet Monitor monitors for your application, regardless of the percentage of traffic that you choose to monitor.
Outputs
All input properties are implicitly available as output properties. Additionally, the Monitor resource produces the following output properties:
- Created
At string - The time when the monitor was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Modified
At string - The last time that the monitor was modified.
- Monitor
Arn string - The Amazon Resource Name (ARN) of the monitor.
- Processing
Status Pulumi.Aws Native. Internet Monitor. Monitor Processing Status Code - The health of data processing for the monitor. For more information, see
ProcessingStatus
under MonitorListMember in the Amazon CloudWatch Internet Monitor API Reference . - Processing
Status stringInfo - Additional information about the health of the data processing for the monitor.
- Created
At string - The time when the monitor was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Modified
At string - The last time that the monitor was modified.
- Monitor
Arn string - The Amazon Resource Name (ARN) of the monitor.
- Processing
Status MonitorProcessing Status Code - The health of data processing for the monitor. For more information, see
ProcessingStatus
under MonitorListMember in the Amazon CloudWatch Internet Monitor API Reference . - Processing
Status stringInfo - Additional information about the health of the data processing for the monitor.
- created
At String - The time when the monitor was created.
- id String
- The provider-assigned unique ID for this managed resource.
- modified
At String - The last time that the monitor was modified.
- monitor
Arn String - The Amazon Resource Name (ARN) of the monitor.
- processing
Status MonitorProcessing Status Code - The health of data processing for the monitor. For more information, see
ProcessingStatus
under MonitorListMember in the Amazon CloudWatch Internet Monitor API Reference . - processing
Status StringInfo - Additional information about the health of the data processing for the monitor.
- created
At string - The time when the monitor was created.
- id string
- The provider-assigned unique ID for this managed resource.
- modified
At string - The last time that the monitor was modified.
- monitor
Arn string - The Amazon Resource Name (ARN) of the monitor.
- processing
Status MonitorProcessing Status Code - The health of data processing for the monitor. For more information, see
ProcessingStatus
under MonitorListMember in the Amazon CloudWatch Internet Monitor API Reference . - processing
Status stringInfo - Additional information about the health of the data processing for the monitor.
- created_
at str - The time when the monitor was created.
- id str
- The provider-assigned unique ID for this managed resource.
- modified_
at str - The last time that the monitor was modified.
- monitor_
arn str - The Amazon Resource Name (ARN) of the monitor.
- processing_
status MonitorProcessing Status Code - The health of data processing for the monitor. For more information, see
ProcessingStatus
under MonitorListMember in the Amazon CloudWatch Internet Monitor API Reference . - processing_
status_ strinfo - Additional information about the health of the data processing for the monitor.
- created
At String - The time when the monitor was created.
- id String
- The provider-assigned unique ID for this managed resource.
- modified
At String - The last time that the monitor was modified.
- monitor
Arn String - The Amazon Resource Name (ARN) of the monitor.
- processing
Status "OK" | "INACTIVE" | "COLLECTING_DATA" | "INSUFFICIENT_DATA" | "FAULT_SERVICE" | "FAULT_ACCESS_CLOUDWATCH" - The health of data processing for the monitor. For more information, see
ProcessingStatus
under MonitorListMember in the Amazon CloudWatch Internet Monitor API Reference . - processing
Status StringInfo - Additional information about the health of the data processing for the monitor.
Supporting Types
MonitorConfigState, MonitorConfigStateArgs
- Pending
- PENDING
- Active
- ACTIVE
- Inactive
- INACTIVE
- Error
- ERROR
- Monitor
Config State Pending - PENDING
- Monitor
Config State Active - ACTIVE
- Monitor
Config State Inactive - INACTIVE
- Monitor
Config State Error - ERROR
- Pending
- PENDING
- Active
- ACTIVE
- Inactive
- INACTIVE
- Error
- ERROR
- Pending
- PENDING
- Active
- ACTIVE
- Inactive
- INACTIVE
- Error
- ERROR
- PENDING
- PENDING
- ACTIVE
- ACTIVE
- INACTIVE
- INACTIVE
- ERROR
- ERROR
- "PENDING"
- PENDING
- "ACTIVE"
- ACTIVE
- "INACTIVE"
- INACTIVE
- "ERROR"
- ERROR
MonitorHealthEventsConfig, MonitorHealthEventsConfigArgs
- Availability
Local Pulumi.Health Events Config Aws Native. Internet Monitor. Inputs. Monitor Local Health Events Config - The configuration that determines the threshold and other conditions for when Internet Monitor creates a health event for a local availability issue.
- Availability
Score doubleThreshold - The health event threshold percentage set for availability scores. When the overall availability score is at or below this percentage, Internet Monitor creates a health event.
- Performance
Local Pulumi.Health Events Config Aws Native. Internet Monitor. Inputs. Monitor Local Health Events Config - The configuration that determines the threshold and other conditions for when Internet Monitor creates a health event for a local performance issue.
- Performance
Score doubleThreshold - The health event threshold percentage set for performance scores. When the overall performance score is at or below this percentage, Internet Monitor creates a health event.
- Availability
Local MonitorHealth Events Config Local Health Events Config - The configuration that determines the threshold and other conditions for when Internet Monitor creates a health event for a local availability issue.
- Availability
Score float64Threshold - The health event threshold percentage set for availability scores. When the overall availability score is at or below this percentage, Internet Monitor creates a health event.
- Performance
Local MonitorHealth Events Config Local Health Events Config - The configuration that determines the threshold and other conditions for when Internet Monitor creates a health event for a local performance issue.
- Performance
Score float64Threshold - The health event threshold percentage set for performance scores. When the overall performance score is at or below this percentage, Internet Monitor creates a health event.
- availability
Local MonitorHealth Events Config Local Health Events Config - The configuration that determines the threshold and other conditions for when Internet Monitor creates a health event for a local availability issue.
- availability
Score DoubleThreshold - The health event threshold percentage set for availability scores. When the overall availability score is at or below this percentage, Internet Monitor creates a health event.
- performance
Local MonitorHealth Events Config Local Health Events Config - The configuration that determines the threshold and other conditions for when Internet Monitor creates a health event for a local performance issue.
- performance
Score DoubleThreshold - The health event threshold percentage set for performance scores. When the overall performance score is at or below this percentage, Internet Monitor creates a health event.
- availability
Local MonitorHealth Events Config Local Health Events Config - The configuration that determines the threshold and other conditions for when Internet Monitor creates a health event for a local availability issue.
- availability
Score numberThreshold - The health event threshold percentage set for availability scores. When the overall availability score is at or below this percentage, Internet Monitor creates a health event.
- performance
Local MonitorHealth Events Config Local Health Events Config - The configuration that determines the threshold and other conditions for when Internet Monitor creates a health event for a local performance issue.
- performance
Score numberThreshold - The health event threshold percentage set for performance scores. When the overall performance score is at or below this percentage, Internet Monitor creates a health event.
- availability_
local_ Monitorhealth_ events_ config Local Health Events Config - The configuration that determines the threshold and other conditions for when Internet Monitor creates a health event for a local availability issue.
- availability_
score_ floatthreshold - The health event threshold percentage set for availability scores. When the overall availability score is at or below this percentage, Internet Monitor creates a health event.
- performance_
local_ Monitorhealth_ events_ config Local Health Events Config - The configuration that determines the threshold and other conditions for when Internet Monitor creates a health event for a local performance issue.
- performance_
score_ floatthreshold - The health event threshold percentage set for performance scores. When the overall performance score is at or below this percentage, Internet Monitor creates a health event.
- availability
Local Property MapHealth Events Config - The configuration that determines the threshold and other conditions for when Internet Monitor creates a health event for a local availability issue.
- availability
Score NumberThreshold - The health event threshold percentage set for availability scores. When the overall availability score is at or below this percentage, Internet Monitor creates a health event.
- performance
Local Property MapHealth Events Config - The configuration that determines the threshold and other conditions for when Internet Monitor creates a health event for a local performance issue.
- performance
Score NumberThreshold - The health event threshold percentage set for performance scores. When the overall performance score is at or below this percentage, Internet Monitor creates a health event.
MonitorInternetMeasurementsLogDelivery, MonitorInternetMeasurementsLogDeliveryArgs
- S3Config
Pulumi.
Aws Native. Internet Monitor. Inputs. Monitor S3Config - The configuration for publishing Amazon CloudWatch Internet Monitor internet measurements to Amazon S3.
- S3Config
Monitor
S3Config - The configuration for publishing Amazon CloudWatch Internet Monitor internet measurements to Amazon S3.
- s3Config
Monitor
S3Config - The configuration for publishing Amazon CloudWatch Internet Monitor internet measurements to Amazon S3.
- s3Config
Monitor
S3Config - The configuration for publishing Amazon CloudWatch Internet Monitor internet measurements to Amazon S3.
- s3_
config MonitorS3Config - The configuration for publishing Amazon CloudWatch Internet Monitor internet measurements to Amazon S3.
- s3Config Property Map
- The configuration for publishing Amazon CloudWatch Internet Monitor internet measurements to Amazon S3.
MonitorLocalHealthEventsConfig, MonitorLocalHealthEventsConfigArgs
- Health
Score doubleThreshold - The health event threshold percentage set for a local health score.
- Min
Traffic doubleImpact The minimum percentage of overall traffic for an application that must be impacted by an issue before Internet Monitor creates an event when a threshold is crossed for a local health score.
If you don't set a minimum traffic impact threshold, the default value is 0.01%.
- Status
Pulumi.
Aws Native. Internet Monitor. Monitor Local Health Events Config Status - The status of whether Internet Monitor creates a health event based on a threshold percentage set for a local health score. The status can be
ENABLED
orDISABLED
.
- Health
Score float64Threshold - The health event threshold percentage set for a local health score.
- Min
Traffic float64Impact The minimum percentage of overall traffic for an application that must be impacted by an issue before Internet Monitor creates an event when a threshold is crossed for a local health score.
If you don't set a minimum traffic impact threshold, the default value is 0.01%.
- Status
Monitor
Local Health Events Config Status - The status of whether Internet Monitor creates a health event based on a threshold percentage set for a local health score. The status can be
ENABLED
orDISABLED
.
- health
Score DoubleThreshold - The health event threshold percentage set for a local health score.
- min
Traffic DoubleImpact The minimum percentage of overall traffic for an application that must be impacted by an issue before Internet Monitor creates an event when a threshold is crossed for a local health score.
If you don't set a minimum traffic impact threshold, the default value is 0.01%.
- status
Monitor
Local Health Events Config Status - The status of whether Internet Monitor creates a health event based on a threshold percentage set for a local health score. The status can be
ENABLED
orDISABLED
.
- health
Score numberThreshold - The health event threshold percentage set for a local health score.
- min
Traffic numberImpact The minimum percentage of overall traffic for an application that must be impacted by an issue before Internet Monitor creates an event when a threshold is crossed for a local health score.
If you don't set a minimum traffic impact threshold, the default value is 0.01%.
- status
Monitor
Local Health Events Config Status - The status of whether Internet Monitor creates a health event based on a threshold percentage set for a local health score. The status can be
ENABLED
orDISABLED
.
- health_
score_ floatthreshold - The health event threshold percentage set for a local health score.
- min_
traffic_ floatimpact The minimum percentage of overall traffic for an application that must be impacted by an issue before Internet Monitor creates an event when a threshold is crossed for a local health score.
If you don't set a minimum traffic impact threshold, the default value is 0.01%.
- status
Monitor
Local Health Events Config Status - The status of whether Internet Monitor creates a health event based on a threshold percentage set for a local health score. The status can be
ENABLED
orDISABLED
.
- health
Score NumberThreshold - The health event threshold percentage set for a local health score.
- min
Traffic NumberImpact The minimum percentage of overall traffic for an application that must be impacted by an issue before Internet Monitor creates an event when a threshold is crossed for a local health score.
If you don't set a minimum traffic impact threshold, the default value is 0.01%.
- status "ENABLED" | "DISABLED"
- The status of whether Internet Monitor creates a health event based on a threshold percentage set for a local health score. The status can be
ENABLED
orDISABLED
.
MonitorLocalHealthEventsConfigStatus, MonitorLocalHealthEventsConfigStatusArgs
- Enabled
- ENABLED
- Disabled
- DISABLED
- Monitor
Local Health Events Config Status Enabled - ENABLED
- Monitor
Local Health Events Config Status Disabled - DISABLED
- Enabled
- ENABLED
- Disabled
- DISABLED
- Enabled
- ENABLED
- Disabled
- DISABLED
- ENABLED
- ENABLED
- DISABLED
- DISABLED
- "ENABLED"
- ENABLED
- "DISABLED"
- DISABLED
MonitorProcessingStatusCode, MonitorProcessingStatusCodeArgs
- Ok
- OK
- Inactive
- INACTIVE
- Collecting
Data - COLLECTING_DATA
- Insufficient
Data - INSUFFICIENT_DATA
- Fault
Service - FAULT_SERVICE
- Fault
Access Cloudwatch - FAULT_ACCESS_CLOUDWATCH
- Monitor
Processing Status Code Ok - OK
- Monitor
Processing Status Code Inactive - INACTIVE
- Monitor
Processing Status Code Collecting Data - COLLECTING_DATA
- Monitor
Processing Status Code Insufficient Data - INSUFFICIENT_DATA
- Monitor
Processing Status Code Fault Service - FAULT_SERVICE
- Monitor
Processing Status Code Fault Access Cloudwatch - FAULT_ACCESS_CLOUDWATCH
- Ok
- OK
- Inactive
- INACTIVE
- Collecting
Data - COLLECTING_DATA
- Insufficient
Data - INSUFFICIENT_DATA
- Fault
Service - FAULT_SERVICE
- Fault
Access Cloudwatch - FAULT_ACCESS_CLOUDWATCH
- Ok
- OK
- Inactive
- INACTIVE
- Collecting
Data - COLLECTING_DATA
- Insufficient
Data - INSUFFICIENT_DATA
- Fault
Service - FAULT_SERVICE
- Fault
Access Cloudwatch - FAULT_ACCESS_CLOUDWATCH
- OK
- OK
- INACTIVE
- INACTIVE
- COLLECTING_DATA
- COLLECTING_DATA
- INSUFFICIENT_DATA
- INSUFFICIENT_DATA
- FAULT_SERVICE
- FAULT_SERVICE
- FAULT_ACCESS_CLOUDWATCH
- FAULT_ACCESS_CLOUDWATCH
- "OK"
- OK
- "INACTIVE"
- INACTIVE
- "COLLECTING_DATA"
- COLLECTING_DATA
- "INSUFFICIENT_DATA"
- INSUFFICIENT_DATA
- "FAULT_SERVICE"
- FAULT_SERVICE
- "FAULT_ACCESS_CLOUDWATCH"
- FAULT_ACCESS_CLOUDWATCH
MonitorS3Config, MonitorS3ConfigArgs
- Bucket
Name string - The Amazon S3 bucket name for internet measurements publishing.
- Bucket
Prefix string - An optional Amazon S3 bucket prefix for internet measurements publishing.
- Log
Delivery Pulumi.Status Aws Native. Internet Monitor. Monitor S3Config Log Delivery Status - The status of publishing Internet Monitor internet measurements to an Amazon S3 bucket. The delivery status is
ENABLED
if you choose to deliver internet measurements to an S3 bucket, andDISABLED
otherwise.
- Bucket
Name string - The Amazon S3 bucket name for internet measurements publishing.
- Bucket
Prefix string - An optional Amazon S3 bucket prefix for internet measurements publishing.
- Log
Delivery MonitorStatus S3Config Log Delivery Status - The status of publishing Internet Monitor internet measurements to an Amazon S3 bucket. The delivery status is
ENABLED
if you choose to deliver internet measurements to an S3 bucket, andDISABLED
otherwise.
- bucket
Name String - The Amazon S3 bucket name for internet measurements publishing.
- bucket
Prefix String - An optional Amazon S3 bucket prefix for internet measurements publishing.
- log
Delivery MonitorStatus S3Config Log Delivery Status - The status of publishing Internet Monitor internet measurements to an Amazon S3 bucket. The delivery status is
ENABLED
if you choose to deliver internet measurements to an S3 bucket, andDISABLED
otherwise.
- bucket
Name string - The Amazon S3 bucket name for internet measurements publishing.
- bucket
Prefix string - An optional Amazon S3 bucket prefix for internet measurements publishing.
- log
Delivery MonitorStatus S3Config Log Delivery Status - The status of publishing Internet Monitor internet measurements to an Amazon S3 bucket. The delivery status is
ENABLED
if you choose to deliver internet measurements to an S3 bucket, andDISABLED
otherwise.
- bucket_
name str - The Amazon S3 bucket name for internet measurements publishing.
- bucket_
prefix str - An optional Amazon S3 bucket prefix for internet measurements publishing.
- log_
delivery_ Monitorstatus S3Config Log Delivery Status - The status of publishing Internet Monitor internet measurements to an Amazon S3 bucket. The delivery status is
ENABLED
if you choose to deliver internet measurements to an S3 bucket, andDISABLED
otherwise.
- bucket
Name String - The Amazon S3 bucket name for internet measurements publishing.
- bucket
Prefix String - An optional Amazon S3 bucket prefix for internet measurements publishing.
- log
Delivery "ENABLED" | "DISABLED"Status - The status of publishing Internet Monitor internet measurements to an Amazon S3 bucket. The delivery status is
ENABLED
if you choose to deliver internet measurements to an S3 bucket, andDISABLED
otherwise.
MonitorS3ConfigLogDeliveryStatus, MonitorS3ConfigLogDeliveryStatusArgs
- Enabled
- ENABLED
- Disabled
- DISABLED
- Monitor
S3Config Log Delivery Status Enabled - ENABLED
- Monitor
S3Config Log Delivery Status Disabled - DISABLED
- Enabled
- ENABLED
- Disabled
- DISABLED
- Enabled
- ENABLED
- Disabled
- DISABLED
- ENABLED
- ENABLED
- DISABLED
- DISABLED
- "ENABLED"
- ENABLED
- "DISABLED"
- DISABLED
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.