CfnTrafficMirrorTargetProps
- class aws_cdk.aws_ec2.CfnTrafficMirrorTargetProps(*, description=None, gateway_load_balancer_endpoint_id=None, network_interface_id=None, network_load_balancer_arn=None, tags=None)
Bases:
object
Properties for defining a
CfnTrafficMirrorTarget
.- Parameters:
description (
Optional
[str
]) – The description of the Traffic Mirror target.gateway_load_balancer_endpoint_id (
Optional
[str
]) – The ID of the Gateway Load Balancer endpoint.network_interface_id (
Optional
[str
]) – The network interface ID that is associated with the target.network_load_balancer_arn (
Optional
[str
]) – The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the target.tags (
Optional
[Sequence
[Union
[CfnTag
,Dict
[str
,Any
]]]]) – The tags to assign to the Traffic Mirror target.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_ec2 as ec2 cfn_traffic_mirror_target_props = ec2.CfnTrafficMirrorTargetProps( description="description", gateway_load_balancer_endpoint_id="gatewayLoadBalancerEndpointId", network_interface_id="networkInterfaceId", network_load_balancer_arn="networkLoadBalancerArn", tags=[CfnTag( key="key", value="value" )] )
Attributes
- description
The description of the Traffic Mirror target.
- gateway_load_balancer_endpoint_id
The ID of the Gateway Load Balancer endpoint.
- network_interface_id
The network interface ID that is associated with the target.
- network_load_balancer_arn
The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the target.
- tags
The tags to assign to the Traffic Mirror target.