import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Resource Type definition for for AWS::EC2::TrafficMirrorFilterRule */ export declare class TrafficMirrorFilterRule extends pulumi.CustomResource { /** * Get an existing TrafficMirrorFilterRule 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, opts?: pulumi.CustomResourceOptions): TrafficMirrorFilterRule; /** * Returns true if the given object is an instance of TrafficMirrorFilterRule. 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 TrafficMirrorFilterRule; /** * The description of the Traffic Mirror Filter rule. */ readonly description: pulumi.Output; /** * The destination CIDR block to assign to the Traffic Mirror rule. */ readonly destinationCidrBlock: pulumi.Output; /** * The destination port range. */ readonly destinationPortRange: pulumi.Output; /** * The number of protocol, for example 17 (UDP), to assign to the Traffic Mirror rule. */ readonly protocol: pulumi.Output; /** * The action to take on the filtered traffic (accept/reject). */ readonly ruleAction: pulumi.Output; /** * The number of the Traffic Mirror rule. */ readonly ruleNumber: pulumi.Output; /** * The source CIDR block to assign to the Traffic Mirror Filter rule. */ readonly sourceCidrBlock: pulumi.Output; /** * The source port range. */ readonly sourcePortRange: pulumi.Output; /** * Any tags assigned to the Traffic Mirror Filter rule. */ readonly tags: pulumi.Output; /** * The direction of traffic (ingress/egress). */ readonly trafficDirection: pulumi.Output; /** * The ID of the filter that this rule is associated with. */ readonly trafficMirrorFilterId: pulumi.Output; /** * The ID of the Traffic Mirror Filter rule. */ readonly trafficMirrorFilterRuleId: pulumi.Output; /** * Create a TrafficMirrorFilterRule 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: TrafficMirrorFilterRuleArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a TrafficMirrorFilterRule resource. */ export interface TrafficMirrorFilterRuleArgs { /** * The description of the Traffic Mirror Filter rule. */ description?: pulumi.Input; /** * The destination CIDR block to assign to the Traffic Mirror rule. */ destinationCidrBlock: pulumi.Input; /** * The destination port range. */ destinationPortRange?: pulumi.Input; /** * The number of protocol, for example 17 (UDP), to assign to the Traffic Mirror rule. */ protocol?: pulumi.Input; /** * The action to take on the filtered traffic (accept/reject). */ ruleAction: pulumi.Input; /** * The number of the Traffic Mirror rule. */ ruleNumber: pulumi.Input; /** * The source CIDR block to assign to the Traffic Mirror Filter rule. */ sourceCidrBlock: pulumi.Input; /** * The source port range. */ sourcePortRange?: pulumi.Input; /** * Any tags assigned to the Traffic Mirror Filter rule. */ tags?: pulumi.Input[]>; /** * The direction of traffic (ingress/egress). */ trafficDirection: pulumi.Input; /** * The ID of the filter that this rule is associated with. */ trafficMirrorFilterId: pulumi.Input; }