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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-trafficmirrortarget.html

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-trafficmirrortarget.html#cfn-ec2-trafficmirrortarget-description

gateway_load_balancer_endpoint_id

The ID of the Gateway Load Balancer endpoint.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-trafficmirrortarget.html#cfn-ec2-trafficmirrortarget-gatewayloadbalancerendpointid

network_interface_id

The network interface ID that is associated with the target.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-trafficmirrortarget.html#cfn-ec2-trafficmirrortarget-networkinterfaceid

network_load_balancer_arn

The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the target.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-trafficmirrortarget.html#cfn-ec2-trafficmirrortarget-networkloadbalancerarn

tags

The tags to assign to the Traffic Mirror target.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-trafficmirrortarget.html#cfn-ec2-trafficmirrortarget-tags