# MonitorLocalResourceProperty

A local resource is the host where the agent is installed.

- Source: Generated at build time
- Type last changed: v2.264.0 · 10 Aug 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_networkflowmonitor as networkflowmonitor } from 'aws-cdk-lib';
const monitorLocalResourceProperty: networkflowmonitor.CfnMonitor.MonitorLocalResourceProperty = {
  identifier: 'identifier',
  type: 'type',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_networkflowmonitor as networkflowmonitor

monitor_local_resource_property = networkflowmonitor.CfnMonitor.MonitorLocalResourceProperty(
    identifier="identifier",
    type="type"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.networkflowmonitor.*;

MonitorLocalResourceProperty monitorLocalResourceProperty = MonitorLocalResourceProperty.builder()
        .identifier("identifier")
        .type("type")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.NetworkFlowMonitor;

var monitorLocalResourceProperty = new MonitorLocalResourceProperty {
    Identifier = "identifier",
    Type = "type"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

monitorLocalResourceProperty := &MonitorLocalResourceProperty{
	Identifier: jsii.String("identifier"),
	Type: jsii.String("type"),
}
```

## Properties

- `identifier`: string (required) — The identifier of the local resource.

- `type`: string (required) — The type of the local resource.
