CfnTrafficMirrorTargetProps

class aws_cdk.aws_ec2.CfnTrafficMirrorTargetProps(*, description=None, network_interface_id=None, network_load_balancer_arn=None, tags=None)

Bases: object

Properties for defining a AWS::EC2::TrafficMirrorTarget.

Parameters
  • description (Optional[str]) – AWS::EC2::TrafficMirrorTarget.Description.

  • network_interface_id (Optional[str]) – AWS::EC2::TrafficMirrorTarget.NetworkInterfaceId.

  • network_load_balancer_arn (Optional[str]) – AWS::EC2::TrafficMirrorTarget.NetworkLoadBalancerArn.

  • tags (Optional[Sequence[CfnTag]]) – AWS::EC2::TrafficMirrorTarget.Tags.

Link

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

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_ec2 as ec2

cfn_traffic_mirror_target_props = ec2.CfnTrafficMirrorTargetProps(
    description="description",
    network_interface_id="networkInterfaceId",
    network_load_balancer_arn="networkLoadBalancerArn",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

description

AWS::EC2::TrafficMirrorTarget.Description.

Link

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

Return type

Optional[str]

network_interface_id

AWS::EC2::TrafficMirrorTarget.NetworkInterfaceId.

Link

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

Return type

Optional[str]

network_load_balancer_arn

AWS::EC2::TrafficMirrorTarget.NetworkLoadBalancerArn.

Link

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

Return type

Optional[str]

tags

AWS::EC2::TrafficMirrorTarget.Tags.

Link

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

Return type

Optional[List[CfnTag]]