UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

65 lines (64 loc) 2.05 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Resource schema for AWS::EC2::TrafficMirrorSession */ export declare function getTrafficMirrorSession(args: GetTrafficMirrorSessionArgs, opts?: pulumi.InvokeOptions): Promise<GetTrafficMirrorSessionResult>; export interface GetTrafficMirrorSessionArgs { /** * The ID of a Traffic Mirror session. */ id: string; } export interface GetTrafficMirrorSessionResult { /** * The description of the Traffic Mirror session. */ readonly description?: string; /** * The ID of a Traffic Mirror session. */ readonly id?: string; /** * The ID of the source network interface. */ readonly networkInterfaceId?: string; /** * The ID of the account that owns the Traffic Mirror session. */ readonly ownerId?: string; /** * The number of bytes in each packet to mirror. */ readonly packetLength?: number; /** * The session number determines the order in which sessions are evaluated when an interface is used by multiple sessions. The first session with a matching filter is the one that mirrors the packets. */ readonly sessionNumber?: number; /** * The tags assigned to the Traffic Mirror session. */ readonly tags?: outputs.Tag[]; /** * The ID of a Traffic Mirror filter. */ readonly trafficMirrorFilterId?: string; /** * The ID of a Traffic Mirror target. */ readonly trafficMirrorTargetId?: string; /** * The VXLAN ID for the Traffic Mirror session. */ readonly virtualNetworkId?: number; } /** * Resource schema for AWS::EC2::TrafficMirrorSession */ export declare function getTrafficMirrorSessionOutput(args: GetTrafficMirrorSessionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTrafficMirrorSessionResult>; export interface GetTrafficMirrorSessionOutputArgs { /** * The ID of a Traffic Mirror session. */ id: pulumi.Input<string>; }