@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)
139 lines (138 loc) • 6.32 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as enums from "../types/enums";
/**
* AWS::EC2::TransitGatewayMeteringPolicyEntry Resource Definition
*/
export declare class TransitGatewayMeteringPolicyEntry extends pulumi.CustomResource {
/**
* Get an existing TransitGatewayMeteringPolicyEntry 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): TransitGatewayMeteringPolicyEntry;
/**
* Returns true if the given object is an instance of TransitGatewayMeteringPolicyEntry. 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 TransitGatewayMeteringPolicyEntry;
/**
* The list of IP addresses of the instances receiving traffic from the transit gateway
*/
readonly destinationCidrBlock: pulumi.Output<string | undefined>;
/**
* The list of ports on destination instances receiving traffic from the transit gateway
*/
readonly destinationPortRange: pulumi.Output<string | undefined>;
/**
* The ID of the source attachment through which traffic leaves a transit gateway
*/
readonly destinationTransitGatewayAttachmentId: pulumi.Output<string | undefined>;
/**
* The type of the attachment through which traffic leaves a transit gateway
*/
readonly destinationTransitGatewayAttachmentType: pulumi.Output<enums.ec2.TransitGatewayMeteringPolicyEntryTransitGatewayAttachmentResourceType | undefined>;
/**
* The resource owner information responsible for paying default billable charges for the traffic flow
*/
readonly meteredAccount: pulumi.Output<enums.ec2.TransitGatewayMeteringPolicyEntryTransitGatewayMeteringPayerType>;
/**
* The rule number of the metering policy entry
*/
readonly policyRuleNumber: pulumi.Output<number>;
/**
* The protocol of the traffic
*/
readonly protocol: pulumi.Output<string | undefined>;
/**
* The list of IP addresses of the instances sending traffic to the transit gateway for which the metering policy entry is applicable
*/
readonly sourceCidrBlock: pulumi.Output<string | undefined>;
/**
* The list of ports on source instances sending traffic to the transit gateway
*/
readonly sourcePortRange: pulumi.Output<string | undefined>;
/**
* The ID of the source attachment through which traffic enters a transit gateway
*/
readonly sourceTransitGatewayAttachmentId: pulumi.Output<string | undefined>;
/**
* The type of the attachment through which traffic enters a transit gateway
*/
readonly sourceTransitGatewayAttachmentType: pulumi.Output<enums.ec2.TransitGatewayMeteringPolicyEntryTransitGatewayAttachmentResourceType | undefined>;
/**
* State of the transit gateway metering policy
*/
readonly state: pulumi.Output<string>;
/**
* The ID of the transit gateway metering policy for which the entry is being created
*/
readonly transitGatewayMeteringPolicyId: pulumi.Output<string>;
/**
* The timestamp at which the latest action performed on the metering policy entry will become effective
*/
readonly updateEffectiveAt: pulumi.Output<string>;
/**
* Create a TransitGatewayMeteringPolicyEntry 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: TransitGatewayMeteringPolicyEntryArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a TransitGatewayMeteringPolicyEntry resource.
*/
export interface TransitGatewayMeteringPolicyEntryArgs {
/**
* The list of IP addresses of the instances receiving traffic from the transit gateway
*/
destinationCidrBlock?: pulumi.Input<string>;
/**
* The list of ports on destination instances receiving traffic from the transit gateway
*/
destinationPortRange?: pulumi.Input<string>;
/**
* The ID of the source attachment through which traffic leaves a transit gateway
*/
destinationTransitGatewayAttachmentId?: pulumi.Input<string>;
/**
* The type of the attachment through which traffic leaves a transit gateway
*/
destinationTransitGatewayAttachmentType?: pulumi.Input<enums.ec2.TransitGatewayMeteringPolicyEntryTransitGatewayAttachmentResourceType>;
/**
* The resource owner information responsible for paying default billable charges for the traffic flow
*/
meteredAccount: pulumi.Input<enums.ec2.TransitGatewayMeteringPolicyEntryTransitGatewayMeteringPayerType>;
/**
* The rule number of the metering policy entry
*/
policyRuleNumber: pulumi.Input<number>;
/**
* The protocol of the traffic
*/
protocol?: pulumi.Input<string>;
/**
* The list of IP addresses of the instances sending traffic to the transit gateway for which the metering policy entry is applicable
*/
sourceCidrBlock?: pulumi.Input<string>;
/**
* The list of ports on source instances sending traffic to the transit gateway
*/
sourcePortRange?: pulumi.Input<string>;
/**
* The ID of the source attachment through which traffic enters a transit gateway
*/
sourceTransitGatewayAttachmentId?: pulumi.Input<string>;
/**
* The type of the attachment through which traffic enters a transit gateway
*/
sourceTransitGatewayAttachmentType?: pulumi.Input<enums.ec2.TransitGatewayMeteringPolicyEntryTransitGatewayAttachmentResourceType>;
/**
* The ID of the transit gateway metering policy for which the entry is being created
*/
transitGatewayMeteringPolicyId: pulumi.Input<string>;
}