GetSites

Provides details about multiple Outposts Sites.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var all = Output.Create(Aws.Outposts.GetSites.InvokeAsync());
    }

}
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 {
        _, err := outposts.GetSites(ctx, nil, nil)
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_aws as aws

all = aws.outposts.get_sites()
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const all = pulumi.output(aws.outposts.getSites({ async: true }));

Using GetSites

function getSites(opts?: InvokeOptions): Promise<GetSitesResult>
function  get_sites(opts=None)
func GetSites(ctx *Context, opts ...InvokeOption) (*GetSitesResult, error)
public static class GetSites {
    public static Task<GetSitesResult> InvokeAsync(InvokeOptions? opts = null)
}

GetSites Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Ids List<string>

Set of Outposts Site identifiers.

Id string

The provider-assigned unique ID for this managed resource.

Ids []string

Set of Outposts Site identifiers.

id string

The provider-assigned unique ID for this managed resource.

ids string[]

Set of Outposts Site identifiers.

id str

The provider-assigned unique ID for this managed resource.

ids List[str]

Set of Outposts Site identifiers.

Package Details

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