AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.65.0 published on Wednesday, Jun 7, 2023 by Pulumi
aws-native.ec2.getEC2Fleet
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.65.0 published on Wednesday, Jun 7, 2023 by Pulumi
Resource Type definition for AWS::EC2::EC2Fleet
Using getEC2Fleet
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getEC2Fleet(args: GetEC2FleetArgs, opts?: InvokeOptions): Promise<GetEC2FleetResult>
function getEC2FleetOutput(args: GetEC2FleetOutputArgs, opts?: InvokeOptions): Output<GetEC2FleetResult>
def get_ec2_fleet(fleet_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEC2FleetResult
def get_ec2_fleet_output(fleet_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEC2FleetResult]
func LookupEC2Fleet(ctx *Context, args *LookupEC2FleetArgs, opts ...InvokeOption) (*LookupEC2FleetResult, error)
func LookupEC2FleetOutput(ctx *Context, args *LookupEC2FleetOutputArgs, opts ...InvokeOption) LookupEC2FleetResultOutput
> Note: This function is named LookupEC2Fleet
in the Go SDK.
public static class GetEC2Fleet
{
public static Task<GetEC2FleetResult> InvokeAsync(GetEC2FleetArgs args, InvokeOptions? opts = null)
public static Output<GetEC2FleetResult> Invoke(GetEC2FleetInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEC2FleetResult> getEC2Fleet(GetEC2FleetArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:ec2:getEC2Fleet
arguments:
# arguments dictionary
The following arguments are supported:
- Fleet
Id string
- Fleet
Id string
- fleet
Id String
- fleet
Id string
- fleet_
id str
- fleet
Id String
getEC2Fleet Result
The following output properties are available:
Supporting Types
EC2FleetExcessCapacityTerminationPolicy
EC2FleetTargetCapacitySpecificationRequest
EC2FleetTargetCapacitySpecificationRequestDefaultTargetCapacityType
EC2FleetTargetCapacitySpecificationRequestTargetCapacityUnitType
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.65.0 published on Wednesday, Jun 7, 2023 by Pulumi