1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. networkmonitor
  6. Monitor

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 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:

    AggregationPeriod int
    The time, in seconds, that metrics are aggregated and sent to Amazon CloudWatch. Valid values are either 30 or 60.
    MonitorName string
    The name identifying the monitor. It can contain only letters, underscores (_), or dashes (-), and can be up to 200 characters.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    The tags for the monitor.
    AggregationPeriod int
    The time, in seconds, that metrics are aggregated and sent to Amazon CloudWatch. Valid values are either 30 or 60.
    MonitorName string
    The name identifying the monitor. It can contain only letters, underscores (_), or dashes (-), and can be up to 200 characters.
    Tags TagArgs
    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.
    tags list(object)
    The tags for the monitor.
    aggregationPeriod Integer
    The time, in seconds, that metrics are aggregated and sent to Amazon CloudWatch. Valid values are either 30 or 60.
    monitorName String
    The name identifying the monitor. It can contain only letters, underscores (_), or dashes (-), and can be up to 200 characters.
    tags List<Tag>
    The tags for the monitor.
    aggregationPeriod number
    The time, in seconds, that metrics are aggregated and sent to Amazon CloudWatch. Valid values are either 30 or 60.
    monitorName string
    The name identifying the monitor. It can contain only letters, underscores (_), or dashes (-), and can be up to 200 characters.
    tags 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.
    tags Sequence[TagArgs]
    The tags for the monitor.
    aggregationPeriod Number
    The time, in seconds, that metrics are aggregated and sent to Amazon CloudWatch. Valid values are either 30 or 60.
    monitorName String
    The name identifying the monitor. It can contain only letters, underscores (_), or dashes (-), and can be up to 200 characters.
    tags 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:

    CreatedAt string
    The time and date when the monitor was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    ModifiedAt string
    The time and date when the monitor was last modified.
    MonitorArn string
    The ARN of the monitor.
    State Pulumi.AwsNative.NetworkMonitor.MonitorState
    The state of the monitor.
    CreatedAt string
    The time and date when the monitor was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    ModifiedAt string
    The time and date when the monitor was last modified.
    MonitorArn string
    The ARN of the monitor.
    State MonitorStateEnum
    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.
    createdAt String
    The time and date when the monitor was created.
    id String
    The provider-assigned unique ID for this managed resource.
    modifiedAt String
    The time and date when the monitor was last modified.
    monitorArn String
    The ARN of the monitor.
    state MonitorState
    The state of the monitor.
    createdAt string
    The time and date when the monitor was created.
    id string
    The provider-assigned unique ID for this managed resource.
    modifiedAt string
    The time and date when the monitor was last modified.
    monitorArn string
    The ARN of the monitor.
    state MonitorState
    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 MonitorState
    The state of the monitor.
    createdAt String
    The time and date when the monitor was created.
    id String
    The provider-assigned unique ID for this managed resource.
    modifiedAt String
    The time and date when the monitor was last modified.
    monitorArn String
    The ARN of the monitor.
    state "PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING"
    The state of the monitor.

    Look up Existing Monitor Resource

    Get an existing Monitor 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>, opts?: CustomResourceOptions): Monitor
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> Monitor
    func GetMonitor(ctx *Context, name string, id IDInput, state *MonitorState, opts ...ResourceOption) (*Monitor, error)
    public static Monitor Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static Monitor get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingMonitor:    type: aws-native:networkmonitor:Monitor    get:      id: ${id}
    import {
      to = aws-native_networkmonitor_monitor.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    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 resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state MonitorState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Supporting Types

    MonitorState

    The state of the monitor.

    NameValue
    PendingPENDING
    ActiveACTIVE
    InactiveINACTIVE
    ErrorERROR
    DeletingDELETING
    NameValue
    MonitorStatePendingPENDING
    MonitorStateActiveACTIVE
    MonitorStateInactiveINACTIVE
    MonitorStateErrorERROR
    MonitorStateDeletingDELETING
    Value
    PENDING
    ACTIVE
    INACTIVE
    ERROR
    DELETING
    NameValue
    PendingPENDING
    ActiveACTIVE
    InactiveINACTIVE
    ErrorERROR
    DeletingDELETING
    NameValue
    PendingPENDING
    ActiveACTIVE
    InactiveINACTIVE
    ErrorERROR
    DeletingDELETING
    NameValue
    PENDINGPENDING
    ACTIVEACTIVE
    INACTIVEINACTIVE
    ERRORERROR
    DELETINGDELETING
    Value
    PENDING
    ACTIVE
    INACTIVE
    ERROR
    DELETING

    Tag, TagArgs

    A set of tags to apply to the resource.

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial