We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 28, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 28, 2026 by Pulumi
An Amazon CloudWatch Network Monitor resource that monitors network traffic between a source VPC subnet and a destination IP address.
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,
aggregation_period: Optional[int] = None,
monitor_name: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = 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:networkmonitor:Monitor
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_networkmonitor_monitor" "name" {
# resource properties
}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:
- Aggregation
Period int - The time, in seconds, that metrics are aggregated and sent to Amazon CloudWatch. Valid values are either 30 or 60.
- Monitor
Name string - The name identifying the monitor. It can contain only letters, underscores (_), or dashes (-), and can be up to 200 characters.
-
List<Pulumi.
Aws Native. Inputs. Tag> - The tags for the monitor.
- Aggregation
Period int - The time, in seconds, that metrics are aggregated and sent to Amazon CloudWatch. Valid values are either 30 or 60.
- Monitor
Name string - The name identifying the monitor. It can contain only letters, underscores (_), or dashes (-), and can be up to 200 characters.
-
Tag
Args - The tags for the monitor.
- aggregation_
period number - The time, in seconds, that metrics are aggregated and sent to Amazon CloudWatch. Valid values are either 30 or 60.
- monitor_
name string - The name identifying the monitor. It can contain only letters, underscores (_), or dashes (-), and can be up to 200 characters.
- list(object)
- The tags for the monitor.
- aggregation
Period Integer - The time, in seconds, that metrics are aggregated and sent to Amazon CloudWatch. Valid values are either 30 or 60.
- monitor
Name String - The name identifying the monitor. It can contain only letters, underscores (_), or dashes (-), and can be up to 200 characters.
- List<Tag>
- The tags for the monitor.
- aggregation
Period number - The time, in seconds, that metrics are aggregated and sent to Amazon CloudWatch. Valid values are either 30 or 60.
- monitor
Name string - The name identifying the monitor. It can contain only letters, underscores (_), or dashes (-), and can be up to 200 characters.
- Tag[]
- The tags for the monitor.
- aggregation_
period int - The time, in seconds, that metrics are aggregated and sent to Amazon CloudWatch. Valid values are either 30 or 60.
- monitor_
name str - The name identifying the monitor. It can contain only letters, underscores (_), or dashes (-), and can be up to 200 characters.
-
Sequence[Tag
Args] - The tags for the monitor.
- aggregation
Period Number - The time, in seconds, that metrics are aggregated and sent to Amazon CloudWatch. Valid values are either 30 or 60.
- monitor
Name String - The name identifying the monitor. It can contain only letters, underscores (_), or dashes (-), and can be up to 200 characters.
- List<Property Map>
- The tags for the 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 and date when the monitor was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Modified
At string - The time and date when the monitor was last modified.
- Monitor
Arn string - The ARN of the monitor.
- State
Pulumi.
Aws Native. Network Monitor. Monitor State - The state of the monitor.
- Created
At string - The time and date when the monitor was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Modified
At string - The time and date when the monitor was last modified.
- Monitor
Arn string - The ARN of the monitor.
- State
Monitor
State Enum - The state of the monitor.
- created_
at string - The time and date when the monitor was created.
- id string
- The provider-assigned unique ID for this managed resource.
- modified_
at string - The time and date when the monitor was last modified.
- monitor_
arn string - The ARN of the monitor.
- state "PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING"
- The state of the monitor.
- created
At String - The time and date when the monitor was created.
- id String
- The provider-assigned unique ID for this managed resource.
- modified
At String - The time and date when the monitor was last modified.
- monitor
Arn String - The ARN of the monitor.
- state
Monitor
State - The state of the monitor.
- created
At string - The time and date when the monitor was created.
- id string
- The provider-assigned unique ID for this managed resource.
- modified
At string - The time and date when the monitor was last modified.
- monitor
Arn string - The ARN of the monitor.
- state
Monitor
State - The state of the monitor.
- created_
at str - The time and date when the monitor was created.
- id str
- The provider-assigned unique ID for this managed resource.
- modified_
at str - The time and date when the monitor was last modified.
- monitor_
arn str - The ARN of the monitor.
- state
Monitor
State - The state of the monitor.
- created
At String - The time and date when the monitor was created.
- id String
- The provider-assigned unique ID for this managed resource.
- modified
At String - The time and date when the monitor was last modified.
- monitor
Arn String - The ARN of the monitor.
- state "PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING"
- The state of the monitor.
Supporting Types
MonitorState, MonitorStateArgs
- Pending
PENDING- Active
ACTIVE- Inactive
INACTIVE- Error
ERROR- Deleting
DELETING
- Monitor
State Pending PENDING- Monitor
State Active ACTIVE- Monitor
State Inactive INACTIVE- Monitor
State Error ERROR- Monitor
State Deleting DELETING
- "PENDING"
PENDING- "ACTIVE"
ACTIVE- "INACTIVE"
INACTIVE- "ERROR"
ERROR- "DELETING"
DELETING
- Pending
PENDING- Active
ACTIVE- Inactive
INACTIVE- Error
ERROR- Deleting
DELETING
- Pending
PENDING- Active
ACTIVE- Inactive
INACTIVE- Error
ERROR- Deleting
DELETING
- PENDING
PENDING- ACTIVE
ACTIVE- INACTIVE
INACTIVE- ERROR
ERROR- DELETING
DELETING
- "PENDING"
PENDING- "ACTIVE"
ACTIVE- "INACTIVE"
INACTIVE- "ERROR"
ERROR- "DELETING"
DELETING
Tag, TagArgs
A set of tags to apply to the resource.Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 28, 2026 by Pulumi