public static final class CfnTrafficMirrorTarget.Builder
extends java.lang.Object
CfnTrafficMirrorTarget
.Modifier and Type | Method and Description |
---|---|
CfnTrafficMirrorTarget |
build() |
static CfnTrafficMirrorTarget.Builder |
create(Construct scope,
java.lang.String id) |
CfnTrafficMirrorTarget.Builder |
description(java.lang.String description)
The description of the Traffic Mirror target.
|
CfnTrafficMirrorTarget.Builder |
gatewayLoadBalancerEndpointId(java.lang.String gatewayLoadBalancerEndpointId)
`AWS::EC2::TrafficMirrorTarget.GatewayLoadBalancerEndpointId`.
|
CfnTrafficMirrorTarget.Builder |
networkInterfaceId(java.lang.String networkInterfaceId)
The network interface ID that is associated with the target.
|
CfnTrafficMirrorTarget.Builder |
networkLoadBalancerArn(java.lang.String networkLoadBalancerArn)
The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the target.
|
CfnTrafficMirrorTarget.Builder |
tags(java.util.List<? extends CfnTag> tags)
The tags to assign to the Traffic Mirror target.
|
public static CfnTrafficMirrorTarget.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnTrafficMirrorTarget.Builder
.public CfnTrafficMirrorTarget.Builder description(java.lang.String description)
description
- The description of the Traffic Mirror target. This parameter is required.this
public CfnTrafficMirrorTarget.Builder gatewayLoadBalancerEndpointId(java.lang.String gatewayLoadBalancerEndpointId)
gatewayLoadBalancerEndpointId
- `AWS::EC2::TrafficMirrorTarget.GatewayLoadBalancerEndpointId`. This parameter is required.this
public CfnTrafficMirrorTarget.Builder networkInterfaceId(java.lang.String networkInterfaceId)
networkInterfaceId
- The network interface ID that is associated with the target. This parameter is required.this
public CfnTrafficMirrorTarget.Builder networkLoadBalancerArn(java.lang.String networkLoadBalancerArn)
networkLoadBalancerArn
- The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the target. This parameter is required.this
public CfnTrafficMirrorTarget.Builder tags(java.util.List<? extends CfnTag> tags)
tags
- The tags to assign to the Traffic Mirror target. This parameter is required.this
public CfnTrafficMirrorTarget build()