Interface CfnTrafficMirrorTargetProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnTrafficMirrorTargetProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:39.063Z") @Stability(Stable) public interface CfnTrafficMirrorTargetProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnTrafficMirrorTarget.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.ec2.*;
 CfnTrafficMirrorTargetProps cfnTrafficMirrorTargetProps = CfnTrafficMirrorTargetProps.builder()
         .description("description")
         .gatewayLoadBalancerEndpointId("gatewayLoadBalancerEndpointId")
         .networkInterfaceId("networkInterfaceId")
         .networkLoadBalancerArn("networkLoadBalancerArn")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 
  • Method Details

    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      The description of the Traffic Mirror target.
    • getGatewayLoadBalancerEndpointId

      @Stability(Stable) @Nullable default String getGatewayLoadBalancerEndpointId()
      The ID of the Gateway Load Balancer endpoint.
    • getNetworkInterfaceId

      @Stability(Stable) @Nullable default String getNetworkInterfaceId()
      The network interface ID that is associated with the target.
    • getNetworkLoadBalancerArn

      @Stability(Stable) @Nullable default String getNetworkLoadBalancerArn()
      The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the target.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      The tags to assign to the Traffic Mirror target.
    • builder

      @Stability(Stable) static CfnTrafficMirrorTargetProps.Builder builder()
      Returns:
      a CfnTrafficMirrorTargetProps.Builder of CfnTrafficMirrorTargetProps