We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 3, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 3, 2026 by Pulumi
Creates a monitor for specific network flows between local and remote resources to monitor network performance for workloads.
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: MonitorArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Monitor(resource_name: str,
opts: Optional[ResourceOptions] = None,
local_resources: Optional[Sequence[MonitorLocalResourceArgs]] = None,
monitor_name: Optional[str] = None,
remote_resources: Optional[Sequence[MonitorRemoteResourceArgs]] = None,
scope_arn: 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, CustomResourceOptions? opts = null)
public Monitor(String name, MonitorArgs args)
public Monitor(String name, MonitorArgs args, CustomResourceOptions options)
type: aws-native:networkflowmonitor:Monitor
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_networkflowmonitor_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:
- Local
Resources List<Pulumi.Aws Native. Network Flow Monitor. Inputs. Monitor Local Resource> - The local resources to monitor.
- Monitor
Name string - The name of the monitor.
- Remote
Resources List<Pulumi.Aws Native. Network Flow Monitor. Inputs. Monitor Remote Resource> - The remote resources to monitor.
- Scope
Arn string - The Amazon Resource Name (ARN) of the scope for the monitor.
-
List<Pulumi.
Aws Native. Inputs. Tag> - The tags for the monitor.
- Local
Resources []MonitorLocal Resource Args - The local resources to monitor.
- Monitor
Name string - The name of the monitor.
- Remote
Resources []MonitorRemote Resource Args - The remote resources to monitor.
- Scope
Arn string - The Amazon Resource Name (ARN) of the scope for the monitor.
-
Tag
Args - The tags for the monitor.
- local_
resources list(object) - The local resources to monitor.
- monitor_
name string - The name of the monitor.
- remote_
resources list(object) - The remote resources to monitor.
- scope_
arn string - The Amazon Resource Name (ARN) of the scope for the monitor.
- list(object)
- The tags for the monitor.
- local
Resources List<MonitorLocal Resource> - The local resources to monitor.
- monitor
Name String - The name of the monitor.
- remote
Resources List<MonitorRemote Resource> - The remote resources to monitor.
- scope
Arn String - The Amazon Resource Name (ARN) of the scope for the monitor.
- List<Tag>
- The tags for the monitor.
- local
Resources MonitorLocal Resource[] - The local resources to monitor.
- monitor
Name string - The name of the monitor.
- remote
Resources MonitorRemote Resource[] - The remote resources to monitor.
- scope
Arn string - The Amazon Resource Name (ARN) of the scope for the monitor.
- Tag[]
- The tags for the monitor.
- local_
resources Sequence[MonitorLocal Resource Args] - The local resources to monitor.
- monitor_
name str - The name of the monitor.
- remote_
resources Sequence[MonitorRemote Resource Args] - The remote resources to monitor.
- scope_
arn str - The Amazon Resource Name (ARN) of the scope for the monitor.
-
Sequence[Tag
Args] - The tags for the monitor.
- local
Resources List<Property Map> - The local resources to monitor.
- monitor
Name String - The name of the monitor.
- remote
Resources List<Property Map> - The remote resources to monitor.
- scope
Arn String - The Amazon Resource Name (ARN) of the scope for the monitor.
- 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:
- Arn string
- The Amazon Resource Name (ARN) of the monitor.
- Created
At string - The date and time when the monitor was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Modified
At string - The date and time when the monitor was last modified.
- Monitor
Status Pulumi.Aws Native. Network Flow Monitor. Monitor Status - The status of the monitor.
- Arn string
- The Amazon Resource Name (ARN) of the monitor.
- Created
At string - The date and time when the monitor was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Modified
At string - The date and time when the monitor was last modified.
- Monitor
Status MonitorStatus - The status of the monitor.
- arn string
- The Amazon Resource Name (ARN) of the monitor.
- created_
at string - The date and time when the monitor was created.
- id string
- The provider-assigned unique ID for this managed resource.
- modified_
at string - The date and time when the monitor was last modified.
- monitor_
status "PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING" - The status of the monitor.
- arn String
- The Amazon Resource Name (ARN) of the monitor.
- created
At String - The date and time when the monitor was created.
- id String
- The provider-assigned unique ID for this managed resource.
- modified
At String - The date and time when the monitor was last modified.
- monitor
Status MonitorStatus - The status of the monitor.
- arn string
- The Amazon Resource Name (ARN) of the monitor.
- created
At string - The date and time when the monitor was created.
- id string
- The provider-assigned unique ID for this managed resource.
- modified
At string - The date and time when the monitor was last modified.
- monitor
Status MonitorStatus - The status of the monitor.
- arn str
- The Amazon Resource Name (ARN) of the monitor.
- created_
at str - The date and time when the monitor was created.
- id str
- The provider-assigned unique ID for this managed resource.
- modified_
at str - The date and time when the monitor was last modified.
- monitor_
status MonitorStatus - The status of the monitor.
- arn String
- The Amazon Resource Name (ARN) of the monitor.
- created
At String - The date and time when the monitor was created.
- id String
- The provider-assigned unique ID for this managed resource.
- modified
At String - The date and time when the monitor was last modified.
- monitor
Status "PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING" - The status of the monitor.
Supporting Types
MonitorLocalResource, MonitorLocalResourceArgs
A local resource is the host where the agent is installed.- Identifier string
- The identifier of the local resource.
- Type
Pulumi.
Aws Native. Network Flow Monitor. Monitor Local Resource Type - The type of the local resource.
- Identifier string
- The identifier of the local resource.
- Type
Monitor
Local Resource Type - The type of the local resource.
- identifier string
- The identifier of the local resource.
- type
"AWS::EC2::VPC" | "AWS::Availability
Zone" | "AWS::EC2::Subnet" | "AWS::Region" | "AWS::EKS::Cluster" - The type of the local resource.
- identifier String
- The identifier of the local resource.
- type
Monitor
Local Resource Type - The type of the local resource.
- identifier string
- The identifier of the local resource.
- type
Monitor
Local Resource Type - The type of the local resource.
- identifier str
- The identifier of the local resource.
- type
Monitor
Local Resource Type - The type of the local resource.
- identifier String
- The identifier of the local resource.
- type
"AWS::EC2::VPC" | "AWS::Availability
Zone" | "AWS::EC2::Subnet" | "AWS::Region" | "AWS::EKS::Cluster" - The type of the local resource.
MonitorLocalResourceType, MonitorLocalResourceTypeArgs
- Awsec2vpc
AWS::EC2::VPC- Aws
Availability Zone AWS::AvailabilityZone- Awsec2Subnet
AWS::EC2::Subnet- Aws
Region AWS::Region- Awseks
Cluster AWS::EKS::Cluster
- Monitor
Local Resource Type Awsec2vpc AWS::EC2::VPC- Monitor
Local Resource Type Aws Availability Zone AWS::AvailabilityZone- Monitor
Local Resource Type Awsec2Subnet AWS::EC2::Subnet- Monitor
Local Resource Type Aws Region AWS::Region- Monitor
Local Resource Type Awseks Cluster AWS::EKS::Cluster
- "AWS::EC2::VPC"
AWS::EC2::VPC- "AWS::Availability
Zone" AWS::AvailabilityZone- "AWS::EC2::Subnet"
AWS::EC2::Subnet- "AWS::Region"
AWS::Region- "AWS::EKS::Cluster"
AWS::EKS::Cluster
- Awsec2vpc
AWS::EC2::VPC- Aws
Availability Zone AWS::AvailabilityZone- Awsec2Subnet
AWS::EC2::Subnet- Aws
Region AWS::Region- Awseks
Cluster AWS::EKS::Cluster
- Awsec2vpc
AWS::EC2::VPC- Aws
Availability Zone AWS::AvailabilityZone- Awsec2Subnet
AWS::EC2::Subnet- Aws
Region AWS::Region- Awseks
Cluster AWS::EKS::Cluster
- AWSEC2VPC
AWS::EC2::VPC- AWS_AVAILABILITY_ZONE
AWS::AvailabilityZone- AWSEC2_SUBNET
AWS::EC2::Subnet- AWS_REGION
AWS::Region- AWSEKS_CLUSTER
AWS::EKS::Cluster
- "AWS::EC2::VPC"
AWS::EC2::VPC- "AWS::Availability
Zone" AWS::AvailabilityZone- "AWS::EC2::Subnet"
AWS::EC2::Subnet- "AWS::Region"
AWS::Region- "AWS::EKS::Cluster"
AWS::EKS::Cluster
MonitorRemoteResource, MonitorRemoteResourceArgs
A remote resource is the other endpoint in a network flow.- Identifier string
- The identifier of the remote resource.
- Type
Pulumi.
Aws Native. Network Flow Monitor. Monitor Remote Resource Type - The type of the remote resource.
- Identifier string
- The identifier of the remote resource.
- Type
Monitor
Remote Resource Type - The type of the remote resource.
- identifier string
- The identifier of the remote resource.
- type
"AWS::EC2::VPC" | "AWS::Availability
Zone" | "AWS::EC2::Subnet" | "AWS::AWSService" | "AWS::Region" - The type of the remote resource.
- identifier String
- The identifier of the remote resource.
- type
Monitor
Remote Resource Type - The type of the remote resource.
- identifier string
- The identifier of the remote resource.
- type
Monitor
Remote Resource Type - The type of the remote resource.
- identifier str
- The identifier of the remote resource.
- type
Monitor
Remote Resource Type - The type of the remote resource.
- identifier String
- The identifier of the remote resource.
- type
"AWS::EC2::VPC" | "AWS::Availability
Zone" | "AWS::EC2::Subnet" | "AWS::AWSService" | "AWS::Region" - The type of the remote resource.
MonitorRemoteResourceType, MonitorRemoteResourceTypeArgs
- Awsec2vpc
AWS::EC2::VPC- Aws
Availability Zone AWS::AvailabilityZone- Awsec2Subnet
AWS::EC2::Subnet- Awsaws
Service AWS::AWSService- Aws
Region AWS::Region
- Monitor
Remote Resource Type Awsec2vpc AWS::EC2::VPC- Monitor
Remote Resource Type Aws Availability Zone AWS::AvailabilityZone- Monitor
Remote Resource Type Awsec2Subnet AWS::EC2::Subnet- Monitor
Remote Resource Type Awsaws Service AWS::AWSService- Monitor
Remote Resource Type Aws Region AWS::Region
- "AWS::EC2::VPC"
AWS::EC2::VPC- "AWS::Availability
Zone" AWS::AvailabilityZone- "AWS::EC2::Subnet"
AWS::EC2::Subnet- "AWS::AWSService"
AWS::AWSService- "AWS::Region"
AWS::Region
- Awsec2vpc
AWS::EC2::VPC- Aws
Availability Zone AWS::AvailabilityZone- Awsec2Subnet
AWS::EC2::Subnet- Awsaws
Service AWS::AWSService- Aws
Region AWS::Region
- Awsec2vpc
AWS::EC2::VPC- Aws
Availability Zone AWS::AvailabilityZone- Awsec2Subnet
AWS::EC2::Subnet- Awsaws
Service AWS::AWSService- Aws
Region AWS::Region
- AWSEC2VPC
AWS::EC2::VPC- AWS_AVAILABILITY_ZONE
AWS::AvailabilityZone- AWSEC2_SUBNET
AWS::EC2::Subnet- AWSAWS_SERVICE
AWS::AWSService- AWS_REGION
AWS::Region
- "AWS::EC2::VPC"
AWS::EC2::VPC- "AWS::Availability
Zone" AWS::AvailabilityZone- "AWS::EC2::Subnet"
AWS::EC2::Subnet- "AWS::AWSService"
AWS::AWSService- "AWS::Region"
AWS::Region
MonitorStatus, MonitorStatusArgs
- Pending
PENDING- Active
ACTIVE- Inactive
INACTIVE- Error
ERROR- Deleting
DELETING
- Monitor
Status Pending PENDING- Monitor
Status Active ACTIVE- Monitor
Status Inactive INACTIVE- Monitor
Status Error ERROR- Monitor
Status 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, Aug 3, 2026 by Pulumi