1. Packages
  2. AWS Native
  3. API Docs
  4. ecs
  5. getCapacityProvider

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi

aws-native.ecs.getCapacityProvider

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi

    Resource Type definition for AWS::ECS::CapacityProvider.

    Using getCapacityProvider

    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 getCapacityProvider(args: GetCapacityProviderArgs, opts?: InvokeOptions): Promise<GetCapacityProviderResult>
    function getCapacityProviderOutput(args: GetCapacityProviderOutputArgs, opts?: InvokeOptions): Output<GetCapacityProviderResult>
    def get_capacity_provider(name: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetCapacityProviderResult
    def get_capacity_provider_output(name: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetCapacityProviderResult]
    func LookupCapacityProvider(ctx *Context, args *LookupCapacityProviderArgs, opts ...InvokeOption) (*LookupCapacityProviderResult, error)
    func LookupCapacityProviderOutput(ctx *Context, args *LookupCapacityProviderOutputArgs, opts ...InvokeOption) LookupCapacityProviderResultOutput

    > Note: This function is named LookupCapacityProvider in the Go SDK.

    public static class GetCapacityProvider 
    {
        public static Task<GetCapacityProviderResult> InvokeAsync(GetCapacityProviderArgs args, InvokeOptions? opts = null)
        public static Output<GetCapacityProviderResult> Invoke(GetCapacityProviderInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCapacityProviderResult> getCapacityProvider(GetCapacityProviderArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:ecs:getCapacityProvider
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Name string
    name String
    name string
    name str
    name String

    getCapacityProvider Result

    The following output properties are available:

    Supporting Types

    CapacityProviderAutoScalingGroupProvider

    CapacityProviderAutoScalingGroupProviderManagedDraining

    CapacityProviderAutoScalingGroupProviderManagedTerminationProtection

    CapacityProviderManagedScaling

    CapacityProviderManagedScalingStatus

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi