TargetIdentifierProperty Struct
A target identifier is a pair of identifying information for a scope target.
| Source | |
|---|---|
| Type last changed |
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 targetIdentifierProperty: networkflowmonitor.CfnScope.TargetIdentifierProperty = {
targetId: {
accountId: 'accountId',
},
targetType: 'targetType',
};
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_identifier_property = networkflowmonitor.CfnScope.TargetIdentifierProperty(
target_id=networkflowmonitor.CfnScope.TargetIdProperty(
account_id="accountId"
),
target_type="targetType"
)
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.*;
TargetIdentifierProperty targetIdentifierProperty = TargetIdentifierProperty.builder()
.targetId(TargetIdProperty.builder()
.accountId("accountId")
.build())
.targetType("targetType")
.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 targetIdentifierProperty = new TargetIdentifierProperty {
TargetId = new TargetIdProperty {
AccountId = "accountId"
},
TargetType = "targetType"
};
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"
targetIdentifierProperty := &TargetIdentifierProperty{
TargetId: &TargetIdProperty{
AccountId: jsii.String("accountId"),
},
TargetType: jsii.String("targetType"),
}
Properties
targetIdIResolvable | CfnScope.TargetIdPropertytarget_idtyping.Union[IResolvable, TargetIdProperty]targetIdIResolvableTargetIdIResolvableTargetIdinterface{} required #A target ID is an internally-generated identifier for a target.
The type of the target.
Currently always ACCOUNT.