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
published on Monday, Sep 28, 2026 by Pulumi
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
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 dictionarydata "aws-native_networkmonitor_get_monitor" "name" {
# arguments
}The following arguments are supported:
- Monitor
Arn string - The ARN of the monitor.
- Monitor
Arn string - The ARN of the monitor.
- monitor_
arn string - The ARN of the monitor.
- monitor
Arn String - The ARN of the monitor.
- monitor
Arn string - The ARN of the monitor.
- monitor_
arn str - The ARN of the monitor.
- monitor
Arn String - The ARN of the monitor.
getMonitor Result
The following output properties are available:
- 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 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
Pulumi.
Aws Native. Network Monitor. Monitor State - The state of the monitor.
-
List<Pulumi.
Aws Native. Outputs. 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 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
Monitor
State Enum - The state of the monitor.
- 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.
- 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.
- 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
Monitor
State - The state of the monitor.
- 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.
- 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
Monitor
State - The state of the monitor.
- 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
Monitor
State - The state of the monitor.
- Sequence[root_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.
- List<Property Map>
- The tags for the monitor.
Supporting Types
MonitorState
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
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
published on Monday, Sep 28, 2026 by Pulumi