aws logo
AWS Classic v5.32.0, Mar 17 23

aws.outposts.getOutpostInstanceTypes

Information about Outposts Instance Types.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var example = Aws.Outposts.GetOutpostInstanceTypes.Invoke(new()
    {
        Arn = data.Aws_outposts_outpost.Example.Arn,
    });

});
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v5/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: data.Aws_outposts_outpost.Example.Arn,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
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(data.aws_outposts_outpost().example().arn())
            .build());

    }
}
import pulumi
import pulumi_aws as aws

example = aws.outposts.get_outpost_instance_types(arn=data["aws_outposts_outpost"]["example"]["arn"])
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = aws.outposts.getOutpostInstanceTypes({
    arn: data.aws_outposts_outpost.example.arn,
});
variables:
  example:
    fn::invoke:
      Function: aws:outposts:getOutpostInstanceTypes
      Arguments:
        arn: ${data.aws_outposts_outpost.example.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,
                               opts: Optional[InvokeOptions] = None) -> GetOutpostInstanceTypesResult
def get_outpost_instance_types_output(arn: 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)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: aws:outposts/getOutpostInstanceTypes:getOutpostInstanceTypes
  arguments:
    # arguments dictionary

The following arguments are supported:

Arn string

Outpost ARN.

Arn string

Outpost ARN.

arn String

Outpost ARN.

arn string

Outpost ARN.

arn str

Outpost ARN.

arn String

Outpost ARN.

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.

Arn string
Id string

The provider-assigned unique ID for this managed resource.

InstanceTypes []string

Set of instance types.

arn String
id String

The provider-assigned unique ID for this managed resource.

instanceTypes List<String>

Set of instance types.

arn string
id string

The provider-assigned unique ID for this managed resource.

instanceTypes string[]

Set of instance types.

arn str
id str

The provider-assigned unique ID for this managed resource.

instance_types Sequence[str]

Set of instance types.

arn String
id String

The provider-assigned unique ID for this managed resource.

instanceTypes List<String>

Set of instance types.

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.