AWS Fundamentals Logo
AWS Fundamentals
AWS::EC2::TrafficMirrorTarget

EC2 TrafficMirrorTarget

The description of the Traffic Mirror target.

Properties

5 configurable properties. Click a row to see details.

Filter:
PropertyTypeFlags
Description
string
Create-only
GatewayLoadBalancerEndpointId
string
Create-only
NetworkInterfaceId
string
Create-only
NetworkLoadBalancerArn
string
Create-only
Tags
Array<Tag>

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
Idstring-

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::EC2::TrafficMirrorTarget

Resources:
  MyResource:
    Type: AWS::EC2::TrafficMirrorTarget
    Properties:
      Tags:
        - Key: Environment
          Value: Production
      Description: !Ref "AWS::StackName"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

ec2:CreateTrafficMirrorTargetec2:CreateTags

read

ec2:DescribeTrafficMirrorTargetsec2:DescribeTags

update

ec2:DescribeTrafficMirrorTargetsec2:CreateTagsec2:DeleteTagsec2:DescribeTags

delete

ec2:DeleteTrafficMirrorTargetec2:DeleteTags

list

ec2:DescribeTrafficMirrorTargetsec2:DescribeTags

Get the EC2 Cheat Sheet

Everything you need to know about EC2 on one page. HD quality, print-friendly.

Download Free Infographic

Quick Facts

ServiceEC2
Properties6
Required0
TaggingSupported
Primary IDId

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

GatewayLoadBalancerEndpointIdNetworkLoadBalancerArnNetworkInterfaceIdDescription

External Links