Skip to content
v2.278.0

MonitorLocalResourceProperty Struct ​

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

Example ​

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
# 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
// 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();
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"
};
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 ​

identifierstringidentifierstridentifierStringIdentifierstringIdentifier*string required #
The identifier of the local resource.
typestringtypestrtypeStringTypestringType*string required #
The type of the local resource.