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)

112 lines (111 loc) 4.17 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Resource schema for AWS::EC2::TrafficMirrorSession */ export declare class TrafficMirrorSession extends pulumi.CustomResource { /** * Get an existing TrafficMirrorSession resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): TrafficMirrorSession; /** * Returns true if the given object is an instance of TrafficMirrorSession. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is TrafficMirrorSession; /** * The ID of a Traffic Mirror session. */ readonly awsId: pulumi.Output<string>; /** * The description of the Traffic Mirror session. */ readonly description: pulumi.Output<string | undefined>; /** * The ID of the source network interface. */ readonly networkInterfaceId: pulumi.Output<string>; /** * The ID of the account that owns the Traffic Mirror session. */ readonly ownerId: pulumi.Output<string | undefined>; /** * The number of bytes in each packet to mirror. */ readonly packetLength: pulumi.Output<number | undefined>; /** * 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: pulumi.Output<number>; /** * The tags assigned to the Traffic Mirror session. */ readonly tags: pulumi.Output<outputs.Tag[] | undefined>; /** * The ID of a Traffic Mirror filter. */ readonly trafficMirrorFilterId: pulumi.Output<string>; /** * The ID of a Traffic Mirror target. */ readonly trafficMirrorTargetId: pulumi.Output<string>; /** * The VXLAN ID for the Traffic Mirror session. */ readonly virtualNetworkId: pulumi.Output<number | undefined>; /** * Create a TrafficMirrorSession resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: TrafficMirrorSessionArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a TrafficMirrorSession resource. */ export interface TrafficMirrorSessionArgs { /** * The description of the Traffic Mirror session. */ description?: pulumi.Input<string>; /** * The ID of the source network interface. */ networkInterfaceId: pulumi.Input<string>; /** * The ID of the account that owns the Traffic Mirror session. */ ownerId?: pulumi.Input<string>; /** * The number of bytes in each packet to mirror. */ packetLength?: pulumi.Input<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. */ sessionNumber: pulumi.Input<number>; /** * The tags assigned to the Traffic Mirror session. */ tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>; /** * The ID of a Traffic Mirror filter. */ trafficMirrorFilterId: pulumi.Input<string>; /** * The ID of a Traffic Mirror target. */ trafficMirrorTargetId: pulumi.Input<string>; /** * The VXLAN ID for the Traffic Mirror session. */ virtualNetworkId?: pulumi.Input<number>; }