1. Packages
  2. AWS
  3. API Docs
  4. outposts
  5. getOutpostInstanceTypes
AWS v7.4.0 published on Wednesday, Aug 13, 2025 by Pulumi

aws.outposts.getOutpostInstanceTypes

Explore with Pulumi AI

aws logo
AWS v7.4.0 published on Wednesday, Aug 13, 2025 by Pulumi

    Information about Outposts Instance Types.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = aws.outposts.getOutpostInstanceTypes({
        arn: exampleAwsOutpostsOutpost.arn,
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.outposts.get_outpost_instance_types(arn=example_aws_outposts_outpost["arn"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/outposts"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := outposts.GetOutpostInstanceTypes(ctx, &outposts.GetOutpostInstanceTypesArgs{
    			Arn: exampleAwsOutpostsOutpost.Arn,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Aws.Outposts.GetOutpostInstanceTypes.Invoke(new()
        {
            Arn = exampleAwsOutpostsOutpost.Arn,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.outposts.OutpostsFunctions;
    import com.pulumi.aws.outposts.inputs.GetOutpostInstanceTypesArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var example = OutpostsFunctions.getOutpostInstanceTypes(GetOutpostInstanceTypesArgs.builder()
                .arn(exampleAwsOutpostsOutpost.arn())
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: aws:outposts:getOutpostInstanceTypes
          arguments:
            arn: ${exampleAwsOutpostsOutpost.arn}
    

    Using getOutpostInstanceTypes

    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 getOutpostInstanceTypes(args: GetOutpostInstanceTypesArgs, opts?: InvokeOptions): Promise<GetOutpostInstanceTypesResult>
    function getOutpostInstanceTypesOutput(args: GetOutpostInstanceTypesOutputArgs, opts?: InvokeOptions): Output<GetOutpostInstanceTypesResult>
    def get_outpost_instance_types(arn: Optional[str] = None,
                                   region: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetOutpostInstanceTypesResult
    def get_outpost_instance_types_output(arn: Optional[pulumi.Input[str]] = None,
                                   region: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetOutpostInstanceTypesResult]
    func GetOutpostInstanceTypes(ctx *Context, args *GetOutpostInstanceTypesArgs, opts ...InvokeOption) (*GetOutpostInstanceTypesResult, error)
    func GetOutpostInstanceTypesOutput(ctx *Context, args *GetOutpostInstanceTypesOutputArgs, opts ...InvokeOption) GetOutpostInstanceTypesResultOutput

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

    public static class GetOutpostInstanceTypes 
    {
        public static Task<GetOutpostInstanceTypesResult> InvokeAsync(GetOutpostInstanceTypesArgs args, InvokeOptions? opts = null)
        public static Output<GetOutpostInstanceTypesResult> Invoke(GetOutpostInstanceTypesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetOutpostInstanceTypesResult> getOutpostInstanceTypes(GetOutpostInstanceTypesArgs args, InvokeOptions options)
    public static Output<GetOutpostInstanceTypesResult> getOutpostInstanceTypes(GetOutpostInstanceTypesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws:outposts/getOutpostInstanceTypes:getOutpostInstanceTypes
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Arn string
    Outpost ARN.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Arn string
    Outpost ARN.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    arn String
    Outpost ARN.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    arn string
    Outpost ARN.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    arn str
    Outpost ARN.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    arn String
    Outpost ARN.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.

    getOutpostInstanceTypes Result

    The following output properties are available:

    Arn string
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceTypes List<string>
    Set of instance types.
    Region string
    Arn string
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceTypes []string
    Set of instance types.
    Region string
    arn String
    id String
    The provider-assigned unique ID for this managed resource.
    instanceTypes List<String>
    Set of instance types.
    region String
    arn string
    id string
    The provider-assigned unique ID for this managed resource.
    instanceTypes string[]
    Set of instance types.
    region string
    arn str
    id str
    The provider-assigned unique ID for this managed resource.
    instance_types Sequence[str]
    Set of instance types.
    region str
    arn String
    id String
    The provider-assigned unique ID for this managed resource.
    instanceTypes List<String>
    Set of instance types.
    region String

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo
    AWS v7.4.0 published on Wednesday, Aug 13, 2025 by Pulumi