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

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 probe that measures network traffic between a source subnet and a destination.

    Create Probe Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Probe(name: string, args: ProbeArgs, opts?: CustomResourceOptions);
    @overload
    def Probe(resource_name: str,
              args: ProbeArgs,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Probe(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              destination: Optional[str] = None,
              monitor_name: Optional[str] = None,
              protocol: Optional[ProbeProtocol] = None,
              source_arn: Optional[str] = None,
              destination_port: Optional[int] = None,
              packet_size: Optional[int] = None,
              tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewProbe(ctx *Context, name string, args ProbeArgs, opts ...ResourceOption) (*Probe, error)
    public Probe(string name, ProbeArgs args, CustomResourceOptions? opts = null)
    public Probe(String name, ProbeArgs args)
    public Probe(String name, ProbeArgs args, CustomResourceOptions options)
    
    type: aws-native:networkmonitor:Probe
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_networkmonitor_probe" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ProbeArgs
    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 ProbeArgs
    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 ProbeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ProbeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ProbeArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Probe 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 Probe resource accepts the following input properties:

    Destination string
    The literal IPv4 or IPv6 address the probe sends traffic to. The service rejects a domain name and a CIDR block.
    MonitorName string
    The name of the monitor the probe belongs to.
    Protocol Pulumi.AwsNative.NetworkMonitor.ProbeProtocol
    The protocol the probe uses.
    SourceArn string
    The ARN of the subnet the probe sends traffic from.
    DestinationPort int
    The port the probe sends traffic to. Applies to the TCP protocol only.
    PacketSize int
    The size, in bytes, of the packets the probe sends.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    The tags for the probe.
    Destination string
    The literal IPv4 or IPv6 address the probe sends traffic to. The service rejects a domain name and a CIDR block.
    MonitorName string
    The name of the monitor the probe belongs to.
    Protocol ProbeProtocol
    The protocol the probe uses.
    SourceArn string
    The ARN of the subnet the probe sends traffic from.
    DestinationPort int
    The port the probe sends traffic to. Applies to the TCP protocol only.
    PacketSize int
    The size, in bytes, of the packets the probe sends.
    Tags TagArgs
    The tags for the probe.
    destination string
    The literal IPv4 or IPv6 address the probe sends traffic to. The service rejects a domain name and a CIDR block.
    monitor_name string
    The name of the monitor the probe belongs to.
    protocol "TCP" | "ICMP"
    The protocol the probe uses.
    source_arn string
    The ARN of the subnet the probe sends traffic from.
    destination_port number
    The port the probe sends traffic to. Applies to the TCP protocol only.
    packet_size number
    The size, in bytes, of the packets the probe sends.
    tags list(object)
    The tags for the probe.
    destination String
    The literal IPv4 or IPv6 address the probe sends traffic to. The service rejects a domain name and a CIDR block.
    monitorName String
    The name of the monitor the probe belongs to.
    protocol ProbeProtocol
    The protocol the probe uses.
    sourceArn String
    The ARN of the subnet the probe sends traffic from.
    destinationPort Integer
    The port the probe sends traffic to. Applies to the TCP protocol only.
    packetSize Integer
    The size, in bytes, of the packets the probe sends.
    tags List<Tag>
    The tags for the probe.
    destination string
    The literal IPv4 or IPv6 address the probe sends traffic to. The service rejects a domain name and a CIDR block.
    monitorName string
    The name of the monitor the probe belongs to.
    protocol ProbeProtocol
    The protocol the probe uses.
    sourceArn string
    The ARN of the subnet the probe sends traffic from.
    destinationPort number
    The port the probe sends traffic to. Applies to the TCP protocol only.
    packetSize number
    The size, in bytes, of the packets the probe sends.
    tags Tag[]
    The tags for the probe.
    destination str
    The literal IPv4 or IPv6 address the probe sends traffic to. The service rejects a domain name and a CIDR block.
    monitor_name str
    The name of the monitor the probe belongs to.
    protocol ProbeProtocol
    The protocol the probe uses.
    source_arn str
    The ARN of the subnet the probe sends traffic from.
    destination_port int
    The port the probe sends traffic to. Applies to the TCP protocol only.
    packet_size int
    The size, in bytes, of the packets the probe sends.
    tags Sequence[TagArgs]
    The tags for the probe.
    destination String
    The literal IPv4 or IPv6 address the probe sends traffic to. The service rejects a domain name and a CIDR block.
    monitorName String
    The name of the monitor the probe belongs to.
    protocol "TCP" | "ICMP"
    The protocol the probe uses.
    sourceArn String
    The ARN of the subnet the probe sends traffic from.
    destinationPort Number
    The port the probe sends traffic to. Applies to the TCP protocol only.
    packetSize Number
    The size, in bytes, of the packets the probe sends.
    tags List<Property Map>
    The tags for the probe.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Probe resource produces the following output properties:

    AddressFamily Pulumi.AwsNative.NetworkMonitor.ProbeAddressFamily
    The IP address family the probe uses, computed by the service from the source and destination.
    CreatedAt string
    The time and date when the probe was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    ModifiedAt string
    The time and date when the probe was last modified.
    ProbeArn string
    The ARN of the probe.
    ProbeId string
    The ID of the probe.
    State Pulumi.AwsNative.NetworkMonitor.ProbeState
    The state of the probe.
    VpcId string
    The ID of the VPC containing the probe's source subnet.
    AddressFamily ProbeAddressFamily
    The IP address family the probe uses, computed by the service from the source and destination.
    CreatedAt string
    The time and date when the probe was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    ModifiedAt string
    The time and date when the probe was last modified.
    ProbeArn string
    The ARN of the probe.
    ProbeId string
    The ID of the probe.
    State ProbeStateEnum
    The state of the probe.
    VpcId string
    The ID of the VPC containing the probe's source subnet.
    address_family "IPV4" | "IPV6"
    The IP address family the probe uses, computed by the service from the source and destination.
    created_at string
    The time and date when the probe was created.
    id string
    The provider-assigned unique ID for this managed resource.
    modified_at string
    The time and date when the probe was last modified.
    probe_arn string
    The ARN of the probe.
    probe_id string
    The ID of the probe.
    state "PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING" | "DELETED"
    The state of the probe.
    vpc_id string
    The ID of the VPC containing the probe's source subnet.
    addressFamily ProbeAddressFamily
    The IP address family the probe uses, computed by the service from the source and destination.
    createdAt String
    The time and date when the probe was created.
    id String
    The provider-assigned unique ID for this managed resource.
    modifiedAt String
    The time and date when the probe was last modified.
    probeArn String
    The ARN of the probe.
    probeId String
    The ID of the probe.
    state ProbeState
    The state of the probe.
    vpcId String
    The ID of the VPC containing the probe's source subnet.
    addressFamily ProbeAddressFamily
    The IP address family the probe uses, computed by the service from the source and destination.
    createdAt string
    The time and date when the probe was created.
    id string
    The provider-assigned unique ID for this managed resource.
    modifiedAt string
    The time and date when the probe was last modified.
    probeArn string
    The ARN of the probe.
    probeId string
    The ID of the probe.
    state ProbeState
    The state of the probe.
    vpcId string
    The ID of the VPC containing the probe's source subnet.
    address_family ProbeAddressFamily
    The IP address family the probe uses, computed by the service from the source and destination.
    created_at str
    The time and date when the probe was created.
    id str
    The provider-assigned unique ID for this managed resource.
    modified_at str
    The time and date when the probe was last modified.
    probe_arn str
    The ARN of the probe.
    probe_id str
    The ID of the probe.
    state ProbeState
    The state of the probe.
    vpc_id str
    The ID of the VPC containing the probe's source subnet.
    addressFamily "IPV4" | "IPV6"
    The IP address family the probe uses, computed by the service from the source and destination.
    createdAt String
    The time and date when the probe was created.
    id String
    The provider-assigned unique ID for this managed resource.
    modifiedAt String
    The time and date when the probe was last modified.
    probeArn String
    The ARN of the probe.
    probeId String
    The ID of the probe.
    state "PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING" | "DELETED"
    The state of the probe.
    vpcId String
    The ID of the VPC containing the probe's source subnet.

    Look up Existing Probe Resource

    Get an existing Probe 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): Probe
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> Probe
    func GetProbe(ctx *Context, name string, id IDInput, state *ProbeState, opts ...ResourceOption) (*Probe, error)
    public static Probe Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static Probe get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingProbe:    type: aws-native:networkmonitor:Probe    get:      id: ${id}
    import {
      to = aws-native_networkmonitor_probe.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 ProbeState
    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

    ProbeAddressFamily

    The IP address family the probe uses, computed by the service from the source and destination.

    NameValue
    Ipv4IPV4
    Ipv6IPV6
    NameValue
    ProbeAddressFamilyIpv4IPV4
    ProbeAddressFamilyIpv6IPV6
    Value
    IPV4
    IPV6
    NameValue
    Ipv4IPV4
    Ipv6IPV6
    NameValue
    Ipv4IPV4
    Ipv6IPV6
    NameValue
    IPV4IPV4
    IPV6IPV6
    Value
    IPV4
    IPV6

    ProbeProtocol

    The protocol the probe uses.

    NameValue
    TcpTCP
    IcmpICMP
    NameValue
    ProbeProtocolTcpTCP
    ProbeProtocolIcmpICMP
    Value
    TCP
    ICMP
    NameValue
    TcpTCP
    IcmpICMP
    NameValue
    TcpTCP
    IcmpICMP
    NameValue
    TCPTCP
    ICMPICMP
    Value
    TCP
    ICMP

    ProbeState

    The state of the probe.

    NameValue
    PendingPENDING
    ActiveACTIVE
    InactiveINACTIVE
    ErrorERROR
    DeletingDELETING
    DeletedDELETED
    NameValue
    ProbeStatePendingPENDING
    ProbeStateActiveACTIVE
    ProbeStateInactiveINACTIVE
    ProbeStateErrorERROR
    ProbeStateDeletingDELETING
    ProbeStateDeletedDELETED
    Value
    PENDING
    ACTIVE
    INACTIVE
    ERROR
    DELETING
    DELETED
    NameValue
    PendingPENDING
    ActiveACTIVE
    InactiveINACTIVE
    ErrorERROR
    DeletingDELETING
    DeletedDELETED
    NameValue
    PendingPENDING
    ActiveACTIVE
    InactiveINACTIVE
    ErrorERROR
    DeletingDELETING
    DeletedDELETED
    NameValue
    PENDINGPENDING
    ACTIVEACTIVE
    INACTIVEINACTIVE
    ERRORERROR
    DELETINGDELETING
    DELETEDDELETED
    Value
    PENDING
    ACTIVE
    INACTIVE
    ERROR
    DELETING
    DELETED

    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