Skip to content
v2.278.0

TargetIdProperty Struct ​

A target ID is an internally-generated identifier for a target.

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 targetIdProperty: networkflowmonitor.CfnScope.TargetIdProperty = {
  accountId: 'accountId',
};
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

target_id_property = networkflowmonitor.CfnScope.TargetIdProperty(
    account_id="accountId"
)
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.*;

TargetIdProperty targetIdProperty = TargetIdProperty.builder()
        .accountId("accountId")
        .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 targetIdProperty = new TargetIdProperty {
    AccountId = "accountId"
};
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"

targetIdProperty := &TargetIdProperty{
	AccountId: jsii.String("accountId"),
}

Properties ​

accountIdstringaccount_idstraccountIdStringAccountIdstringAccountId*string required #
The account ID for the target.