GetOutpost

Provides details about an Outposts Outpost.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var example = Output.Create(Aws.Outposts.GetOutpost.InvokeAsync(new Aws.Outposts.GetOutpostArgs
        {
            Name = "example",
        }));
    }

}
package main

import (
    "github.com/pulumi/pulumi-aws/sdk/v2/go/aws/outposts"
    "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        opt0 := "example"
        _, err := outposts.GetOutpost(ctx, &outposts.GetOutpostArgs{
            Name: &opt0,
        }, nil)
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_aws as aws

example = aws.outposts.get_outpost(name="example")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = pulumi.output(aws.outposts.getOutpost({
    name: "example",
}, { async: true }));

Using GetOutpost

function getOutpost(args: GetOutpostArgs, opts?: InvokeOptions): Promise<GetOutpostResult>
function  get_outpost(id=None, name=None, opts=None)
func GetOutpost(ctx *Context, args *GetOutpostArgs, opts ...InvokeOption) (*GetOutpostResult, error)
public static class GetOutpost {
    public static Task<GetOutpostResult> InvokeAsync(GetOutpostArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Id string

Identifier of the Outpost.

Name string

Name of the Outpost.

Id string

Identifier of the Outpost.

Name string

Name of the Outpost.

id string

Identifier of the Outpost.

name string

Name of the Outpost.

id str

Identifier of the Outpost.

name str

Name of the Outpost.

GetOutpost Result

The following output properties are available:

Arn string

Amazon Resource Name (ARN).

AvailabilityZone string

Availability Zone name.

AvailabilityZoneId string

Availability Zone identifier.

Description string

Description.

Id string
Name string
OwnerId string

AWS Account identifier of the Outpost owner.

SiteId string

Site identifier.

Arn string

Amazon Resource Name (ARN).

AvailabilityZone string

Availability Zone name.

AvailabilityZoneId string

Availability Zone identifier.

Description string

Description.

Id string
Name string
OwnerId string

AWS Account identifier of the Outpost owner.

SiteId string

Site identifier.

arn string

Amazon Resource Name (ARN).

availabilityZone string

Availability Zone name.

availabilityZoneId string

Availability Zone identifier.

description string

Description.

id string
name string
ownerId string

AWS Account identifier of the Outpost owner.

siteId string

Site identifier.

arn str

Amazon Resource Name (ARN).

availability_zone str

Availability Zone name.

availability_zone_id str

Availability Zone identifier.

description str

Description.

id str
name str
owner_id str

AWS Account identifier of the Outpost owner.

site_id str

Site identifier.

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.