AWS Classic

Pulumi Official
Package maintained by Pulumi
v5.11.0 published on Wednesday, Aug 17, 2022 by Pulumi

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 Amazon Resource Name (ARN).

Arn string

Outpost Amazon Resource Name (ARN).

arn String

Outpost Amazon Resource Name (ARN).

arn string

Outpost Amazon Resource Name (ARN).

arn str

Outpost Amazon Resource Name (ARN).

arn String

Outpost Amazon Resource Name (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
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.