Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetOutpostArgs ¶
type GetOutpostArgs struct { // Identifier of the Outpost. Id *string `pulumi:"id"` // Name of the Outpost. Name *string `pulumi:"name"` }
A collection of arguments for invoking getOutpost.
type GetOutpostInstanceTypeArgs ¶
type GetOutpostInstanceTypeArgs struct { // Outpost Amazon Resource Name (ARN). Arn string `pulumi:"arn"` // Desired instance type. Conflicts with `preferredInstanceTypes`. InstanceType *string `pulumi:"instanceType"` // Ordered list of preferred instance types. The first match in this list will be returned. If no preferred matches are found and the original search returned more than one result, an error is returned. Conflicts with `instanceType`. PreferredInstanceTypes []string `pulumi:"preferredInstanceTypes"` }
A collection of arguments for invoking getOutpostInstanceType.
type GetOutpostInstanceTypeResult ¶
type GetOutpostInstanceTypeResult struct { Arn string `pulumi:"arn"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` InstanceType string `pulumi:"instanceType"` PreferredInstanceTypes []string `pulumi:"preferredInstanceTypes"` }
A collection of values returned by getOutpostInstanceType.
func GetOutpostInstanceType ¶
func GetOutpostInstanceType(ctx *pulumi.Context, args *GetOutpostInstanceTypeArgs, opts ...pulumi.InvokeOption) (*GetOutpostInstanceTypeResult, error)
Information about single Outpost Instance Type.
type GetOutpostInstanceTypesArgs ¶
type GetOutpostInstanceTypesArgs struct { // Outpost Amazon Resource Name (ARN). Arn string `pulumi:"arn"` }
A collection of arguments for invoking getOutpostInstanceTypes.
type GetOutpostInstanceTypesResult ¶
type GetOutpostInstanceTypesResult struct { Arn string `pulumi:"arn"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Set of instance types. InstanceTypes []string `pulumi:"instanceTypes"` }
A collection of values returned by getOutpostInstanceTypes.
func GetOutpostInstanceTypes ¶
func GetOutpostInstanceTypes(ctx *pulumi.Context, args *GetOutpostInstanceTypesArgs, opts ...pulumi.InvokeOption) (*GetOutpostInstanceTypesResult, error)
Information about Outposts Instance Types.
## Example Usage
```go 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.GetOutpostInstanceTypes(ctx, &outposts.GetOutpostInstanceTypesArgs{ Arn: data.Aws_outposts_outpost.Example.Arn, }, nil) if err != nil { return err } return nil }) }
```
type GetOutpostResult ¶
type GetOutpostResult struct { // Amazon Resource Name (ARN). Arn string `pulumi:"arn"` // Availability Zone name. AvailabilityZone string `pulumi:"availabilityZone"` // Availability Zone identifier. AvailabilityZoneId string `pulumi:"availabilityZoneId"` // Description. Description string `pulumi:"description"` Id string `pulumi:"id"` Name string `pulumi:"name"` // AWS Account identifier of the Outpost owner. OwnerId string `pulumi:"ownerId"` // Site identifier. SiteId string `pulumi:"siteId"` }
A collection of values returned by getOutpost.
func GetOutpost ¶
func GetOutpost(ctx *pulumi.Context, args *GetOutpostArgs, opts ...pulumi.InvokeOption) (*GetOutpostResult, error)
Provides details about an Outposts Outpost.
## Example Usage
```go 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 }) }
```
type GetOutpostsArgs ¶
type GetOutpostsArgs struct { // Availability Zone name. AvailabilityZone *string `pulumi:"availabilityZone"` // Availability Zone identifier. AvailabilityZoneId *string `pulumi:"availabilityZoneId"` // Site identifier. SiteId *string `pulumi:"siteId"` }
A collection of arguments for invoking getOutposts.
type GetOutpostsResult ¶
type GetOutpostsResult struct { // Set of Amazon Resource Names (ARNs). Arns []string `pulumi:"arns"` AvailabilityZone string `pulumi:"availabilityZone"` AvailabilityZoneId string `pulumi:"availabilityZoneId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Set of identifiers. Ids []string `pulumi:"ids"` SiteId string `pulumi:"siteId"` }
A collection of values returned by getOutposts.
func GetOutposts ¶
func GetOutposts(ctx *pulumi.Context, args *GetOutpostsArgs, opts ...pulumi.InvokeOption) (*GetOutpostsResult, error)
Provides details about multiple Outposts.
## Example Usage
```go 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 := data.Aws_outposts_site.Id _, err := outposts.GetOutposts(ctx, &outposts.GetOutpostsArgs{ SiteId: &opt0, }, nil) if err != nil { return err } return nil }) }
```
type GetSiteArgs ¶
type GetSiteArgs struct { // Identifier of the Site. Id *string `pulumi:"id"` // Name of the Site. Name *string `pulumi:"name"` }
A collection of arguments for invoking getSite.
type GetSiteResult ¶
type GetSiteResult struct { // AWS Account identifier. AccountId string `pulumi:"accountId"` // Description. Description string `pulumi:"description"` Id string `pulumi:"id"` Name string `pulumi:"name"` }
A collection of values returned by getSite.
func GetSite ¶
func GetSite(ctx *pulumi.Context, args *GetSiteArgs, opts ...pulumi.InvokeOption) (*GetSiteResult, error)
Provides details about an Outposts Site.
## Example Usage
```go 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.GetSite(ctx, &outposts.GetSiteArgs{ Name: &opt0, }, nil) if err != nil { return err } return nil }) }
```
type GetSitesResult ¶
type GetSitesResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Set of Outposts Site identifiers. Ids []string `pulumi:"ids"` }
A collection of values returned by getSites.
func GetSites ¶
func GetSites(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetSitesResult, error)
Provides details about multiple Outposts Sites.
## Example Usage
```go 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 }) }
```