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

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

Viewing docs for AWS Cloud Control v1.81.0
published on Monday, Sep 28, 2026 by Pulumi
aws-native logo aws-native logo

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

Viewing docs for AWS Cloud Control v1.81.0
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.

    Using getMonitor

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getMonitor(args: GetMonitorArgs, opts?: InvokeOptions): Promise<GetMonitorResult>
    function getMonitorOutput(args: GetMonitorOutputArgs, opts?: InvokeOutputOptions): Output<GetMonitorResult>
    def get_monitor(monitor_arn: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetMonitorResult
    def get_monitor_output(monitor_arn: pulumi.Input[Optional[str]] = None,
                    opts: Optional[InvokeOutputOptions] = None) -> Output[GetMonitorResult]
    func LookupMonitor(ctx *Context, args *LookupMonitorArgs, opts ...InvokeOption) (*LookupMonitorResult, error)
    func LookupMonitorOutput(ctx *Context, args *LookupMonitorOutputArgs, opts ...InvokeOption) LookupMonitorResultOutput

    > Note: This function is named LookupMonitor in the Go SDK.

    public static class GetMonitor 
    {
        public static Task<GetMonitorResult> InvokeAsync(GetMonitorArgs args, InvokeOptions? opts = null)
        public static Output<GetMonitorResult> Invoke(GetMonitorInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetMonitorResult> Invoke(GetMonitorInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetMonitorResult> getMonitor(GetMonitorArgs args, InvokeOptions options)
    public static Output<GetMonitorResult> getMonitor(GetMonitorArgs args, InvokeOptions options)
    public static Output<GetMonitorResult> getMonitor(GetMonitorArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:networkmonitor:getMonitor
      arguments:
        # arguments dictionary
    data "aws-native_networkmonitor_get_monitor" "name" {
        # arguments
    }

    The following arguments are supported:

    MonitorArn string
    The ARN of the monitor.
    MonitorArn string
    The ARN of the monitor.
    monitor_arn string
    The ARN of the monitor.
    monitorArn String
    The ARN of the monitor.
    monitorArn string
    The ARN of the monitor.
    monitor_arn str
    The ARN of the monitor.
    monitorArn String
    The ARN of the monitor.

    getMonitor Result

    The following output properties are available:

    AggregationPeriod int
    The time, in seconds, that metrics are aggregated and sent to Amazon CloudWatch. Valid values are either 30 or 60.
    CreatedAt string
    The time and date when the monitor was created.
    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.
    Tags List<Pulumi.AwsNative.Outputs.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.
    CreatedAt string
    The time and date when the monitor was created.
    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.
    Tags 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.
    created_at string
    The time and date when the monitor was created.
    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.
    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.
    createdAt String
    The time and date when the monitor was created.
    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.
    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.
    createdAt string
    The time and date when the monitor was created.
    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.
    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.
    created_at str
    The time and date when the monitor was created.
    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.
    tags Sequence[root_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.
    createdAt String
    The time and date when the monitor was created.
    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.
    tags List<Property Map>
    The tags for the monitor.

    Supporting Types

    MonitorState

    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 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

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

    Viewing docs for AWS Cloud Control v1.81.0
    published on Monday, Sep 28, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial