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)

44 lines (43 loc) 1.41 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Resource Type definition for AWS::EC2::EC2Fleet */ export declare function getEc2Fleet(args: GetEc2FleetArgs, opts?: pulumi.InvokeOptions): Promise<GetEc2FleetResult>; export interface GetEc2FleetArgs { /** * The ID of the EC2 Fleet. */ fleetId: string; } export interface GetEc2FleetResult { /** * Reserved. */ readonly context?: string; /** * Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet. * * Supported only for fleets of type `maintain` . */ readonly excessCapacityTerminationPolicy?: enums.ec2.Ec2FleetExcessCapacityTerminationPolicy; /** * The ID of the EC2 Fleet. */ readonly fleetId?: string; /** * The number of units to request. */ readonly targetCapacitySpecification?: outputs.ec2.Ec2FleetTargetCapacitySpecificationRequest; } /** * Resource Type definition for AWS::EC2::EC2Fleet */ export declare function getEc2FleetOutput(args: GetEc2FleetOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEc2FleetResult>; export interface GetEc2FleetOutputArgs { /** * The ID of the EC2 Fleet. */ fleetId: pulumi.Input<string>; }