Documentation ¶
Index ¶
- type GetAssetArgs
- type GetAssetOutputArgs
- type GetAssetResult
- type GetAssetResultOutput
- func (o GetAssetResultOutput) Arn() pulumi.StringOutput
- func (o GetAssetResultOutput) AssetId() pulumi.StringOutput
- func (o GetAssetResultOutput) AssetType() pulumi.StringOutput
- func (GetAssetResultOutput) ElementType() reflect.Type
- func (o GetAssetResultOutput) HostId() pulumi.StringOutput
- func (o GetAssetResultOutput) Id() pulumi.StringOutput
- func (o GetAssetResultOutput) RackElevation() pulumi.IntOutput
- func (o GetAssetResultOutput) RackId() pulumi.StringOutput
- func (o GetAssetResultOutput) ToGetAssetResultOutput() GetAssetResultOutput
- func (o GetAssetResultOutput) ToGetAssetResultOutputWithContext(ctx context.Context) GetAssetResultOutput
- type GetAssetsArgs
- type GetAssetsOutputArgs
- type GetAssetsResult
- type GetAssetsResultOutput
- func (o GetAssetsResultOutput) Arn() pulumi.StringOutput
- func (o GetAssetsResultOutput) AssetIds() pulumi.StringArrayOutput
- func (GetAssetsResultOutput) ElementType() reflect.Type
- func (o GetAssetsResultOutput) HostIdFilters() pulumi.StringArrayOutput
- func (o GetAssetsResultOutput) Id() pulumi.StringOutput
- func (o GetAssetsResultOutput) StatusIdFilters() pulumi.StringArrayOutput
- func (o GetAssetsResultOutput) ToGetAssetsResultOutput() GetAssetsResultOutput
- func (o GetAssetsResultOutput) ToGetAssetsResultOutputWithContext(ctx context.Context) GetAssetsResultOutput
- type GetOutpostArgs
- type GetOutpostInstanceTypeArgs
- type GetOutpostInstanceTypeOutputArgs
- type GetOutpostInstanceTypeResult
- type GetOutpostInstanceTypeResultOutput
- func (o GetOutpostInstanceTypeResultOutput) Arn() pulumi.StringOutput
- func (GetOutpostInstanceTypeResultOutput) ElementType() reflect.Type
- func (o GetOutpostInstanceTypeResultOutput) Id() pulumi.StringOutput
- func (o GetOutpostInstanceTypeResultOutput) InstanceType() pulumi.StringOutput
- func (o GetOutpostInstanceTypeResultOutput) PreferredInstanceTypes() pulumi.StringArrayOutput
- func (o GetOutpostInstanceTypeResultOutput) ToGetOutpostInstanceTypeResultOutput() GetOutpostInstanceTypeResultOutput
- func (o GetOutpostInstanceTypeResultOutput) ToGetOutpostInstanceTypeResultOutputWithContext(ctx context.Context) GetOutpostInstanceTypeResultOutput
- type GetOutpostInstanceTypesArgs
- type GetOutpostInstanceTypesOutputArgs
- type GetOutpostInstanceTypesResult
- type GetOutpostInstanceTypesResultOutput
- func (o GetOutpostInstanceTypesResultOutput) Arn() pulumi.StringOutput
- func (GetOutpostInstanceTypesResultOutput) ElementType() reflect.Type
- func (o GetOutpostInstanceTypesResultOutput) Id() pulumi.StringOutput
- func (o GetOutpostInstanceTypesResultOutput) InstanceTypes() pulumi.StringArrayOutput
- func (o GetOutpostInstanceTypesResultOutput) ToGetOutpostInstanceTypesResultOutput() GetOutpostInstanceTypesResultOutput
- func (o GetOutpostInstanceTypesResultOutput) ToGetOutpostInstanceTypesResultOutputWithContext(ctx context.Context) GetOutpostInstanceTypesResultOutput
- type GetOutpostOutputArgs
- type GetOutpostResult
- type GetOutpostResultOutput
- func (o GetOutpostResultOutput) Arn() pulumi.StringOutput
- func (o GetOutpostResultOutput) AvailabilityZone() pulumi.StringOutput
- func (o GetOutpostResultOutput) AvailabilityZoneId() pulumi.StringOutput
- func (o GetOutpostResultOutput) Description() pulumi.StringOutput
- func (GetOutpostResultOutput) ElementType() reflect.Type
- func (o GetOutpostResultOutput) Id() pulumi.StringOutput
- func (o GetOutpostResultOutput) Name() pulumi.StringOutput
- func (o GetOutpostResultOutput) OwnerId() pulumi.StringOutput
- func (o GetOutpostResultOutput) SiteId() pulumi.StringOutput
- func (o GetOutpostResultOutput) ToGetOutpostResultOutput() GetOutpostResultOutput
- func (o GetOutpostResultOutput) ToGetOutpostResultOutputWithContext(ctx context.Context) GetOutpostResultOutput
- type GetOutpostsArgs
- type GetOutpostsOutputArgs
- type GetOutpostsResult
- type GetOutpostsResultOutput
- func (o GetOutpostsResultOutput) Arns() pulumi.StringArrayOutput
- func (o GetOutpostsResultOutput) AvailabilityZone() pulumi.StringOutput
- func (o GetOutpostsResultOutput) AvailabilityZoneId() pulumi.StringOutput
- func (GetOutpostsResultOutput) ElementType() reflect.Type
- func (o GetOutpostsResultOutput) Id() pulumi.StringOutput
- func (o GetOutpostsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetOutpostsResultOutput) OwnerId() pulumi.StringOutput
- func (o GetOutpostsResultOutput) SiteId() pulumi.StringOutput
- func (o GetOutpostsResultOutput) ToGetOutpostsResultOutput() GetOutpostsResultOutput
- func (o GetOutpostsResultOutput) ToGetOutpostsResultOutputWithContext(ctx context.Context) GetOutpostsResultOutput
- type GetSiteArgs
- type GetSiteOutputArgs
- type GetSiteResult
- type GetSiteResultOutput
- func (o GetSiteResultOutput) AccountId() pulumi.StringOutput
- func (o GetSiteResultOutput) Description() pulumi.StringOutput
- func (GetSiteResultOutput) ElementType() reflect.Type
- func (o GetSiteResultOutput) Id() pulumi.StringOutput
- func (o GetSiteResultOutput) Name() pulumi.StringOutput
- func (o GetSiteResultOutput) ToGetSiteResultOutput() GetSiteResultOutput
- func (o GetSiteResultOutput) ToGetSiteResultOutputWithContext(ctx context.Context) GetSiteResultOutput
- type GetSitesResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetAssetArgs ¶ added in v5.10.0
type GetAssetArgs struct { // Outpost ARN. Arn string `pulumi:"arn"` // ID of the asset. AssetId string `pulumi:"assetId"` }
A collection of arguments for invoking getAsset.
type GetAssetOutputArgs ¶ added in v5.10.0
type GetAssetOutputArgs struct { // Outpost ARN. Arn pulumi.StringInput `pulumi:"arn"` // ID of the asset. AssetId pulumi.StringInput `pulumi:"assetId"` }
A collection of arguments for invoking getAsset.
func (GetAssetOutputArgs) ElementType ¶ added in v5.10.0
func (GetAssetOutputArgs) ElementType() reflect.Type
type GetAssetResult ¶ added in v5.10.0
type GetAssetResult struct { Arn string `pulumi:"arn"` AssetId string `pulumi:"assetId"` // Type of the asset. AssetType string `pulumi:"assetType"` // Host ID of the Dedicated Hosts on the asset, if a Dedicated Host is provisioned. HostId string `pulumi:"hostId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Position of an asset in a rack measured in rack units. RackElevation int `pulumi:"rackElevation"` // Rack ID of the asset. RackId string `pulumi:"rackId"` }
A collection of values returned by getAsset.
func GetAsset ¶ added in v5.10.0
func GetAsset(ctx *pulumi.Context, args *GetAssetArgs, opts ...pulumi.InvokeOption) (*GetAssetResult, error)
Information about a specific hardware asset in an Outpost.
type GetAssetResultOutput ¶ added in v5.10.0
type GetAssetResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAsset.
func GetAssetOutput ¶ added in v5.10.0
func GetAssetOutput(ctx *pulumi.Context, args GetAssetOutputArgs, opts ...pulumi.InvokeOption) GetAssetResultOutput
func (GetAssetResultOutput) Arn ¶ added in v5.10.0
func (o GetAssetResultOutput) Arn() pulumi.StringOutput
func (GetAssetResultOutput) AssetId ¶ added in v5.10.0
func (o GetAssetResultOutput) AssetId() pulumi.StringOutput
func (GetAssetResultOutput) AssetType ¶ added in v5.10.0
func (o GetAssetResultOutput) AssetType() pulumi.StringOutput
Type of the asset.
func (GetAssetResultOutput) ElementType ¶ added in v5.10.0
func (GetAssetResultOutput) ElementType() reflect.Type
func (GetAssetResultOutput) HostId ¶ added in v5.10.0
func (o GetAssetResultOutput) HostId() pulumi.StringOutput
Host ID of the Dedicated Hosts on the asset, if a Dedicated Host is provisioned.
func (GetAssetResultOutput) Id ¶ added in v5.10.0
func (o GetAssetResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetAssetResultOutput) RackElevation ¶ added in v5.11.0
func (o GetAssetResultOutput) RackElevation() pulumi.IntOutput
Position of an asset in a rack measured in rack units.
func (GetAssetResultOutput) RackId ¶ added in v5.10.0
func (o GetAssetResultOutput) RackId() pulumi.StringOutput
Rack ID of the asset.
func (GetAssetResultOutput) ToGetAssetResultOutput ¶ added in v5.10.0
func (o GetAssetResultOutput) ToGetAssetResultOutput() GetAssetResultOutput
func (GetAssetResultOutput) ToGetAssetResultOutputWithContext ¶ added in v5.10.0
func (o GetAssetResultOutput) ToGetAssetResultOutputWithContext(ctx context.Context) GetAssetResultOutput
type GetAssetsArgs ¶ added in v5.10.0
type GetAssetsArgs struct { // Outpost ARN. Arn string `pulumi:"arn"` // Filters by list of Host IDs of a Dedicated Host. HostIdFilters []string `pulumi:"hostIdFilters"` // Filters by list of state status. Valid values: "ACTIVE", "RETIRING". StatusIdFilters []string `pulumi:"statusIdFilters"` }
A collection of arguments for invoking getAssets.
type GetAssetsOutputArgs ¶ added in v5.10.0
type GetAssetsOutputArgs struct { // Outpost ARN. Arn pulumi.StringInput `pulumi:"arn"` // Filters by list of Host IDs of a Dedicated Host. HostIdFilters pulumi.StringArrayInput `pulumi:"hostIdFilters"` // Filters by list of state status. Valid values: "ACTIVE", "RETIRING". StatusIdFilters pulumi.StringArrayInput `pulumi:"statusIdFilters"` }
A collection of arguments for invoking getAssets.
func (GetAssetsOutputArgs) ElementType ¶ added in v5.10.0
func (GetAssetsOutputArgs) ElementType() reflect.Type
type GetAssetsResult ¶ added in v5.10.0
type GetAssetsResult struct { Arn string `pulumi:"arn"` // List of all the asset ids found. This data source will fail if none are found. AssetIds []string `pulumi:"assetIds"` HostIdFilters []string `pulumi:"hostIdFilters"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` StatusIdFilters []string `pulumi:"statusIdFilters"` }
A collection of values returned by getAssets.
func GetAssets ¶ added in v5.10.0
func GetAssets(ctx *pulumi.Context, args *GetAssetsArgs, opts ...pulumi.InvokeOption) (*GetAssetsResult, error)
Information about hardware assets in an Outpost.
## Example Usage ### Basic
```go 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.GetAssets(ctx, &outposts.GetAssetsArgs{ Arn: data.Aws_outposts_outpost.Example.Arn, }, nil) if err != nil { return err } return nil }) }
``` ### With Host ID Filter
```go 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.GetAssets(ctx, &outposts.GetAssetsArgs{ Arn: data.Aws_outposts_outpost.Example.Arn, HostIdFilters: []string{ "h-x38g5n0yd2a0ueb61", }, }, nil) if err != nil { return err } return nil }) }
``` ### With Status ID Filter
```go 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.GetAssets(ctx, &outposts.GetAssetsArgs{ Arn: data.Aws_outposts_outpost.Example.Arn, StatusIdFilters: []string{ "ACTIVE", }, }, nil) if err != nil { return err } return nil }) }
```
type GetAssetsResultOutput ¶ added in v5.10.0
type GetAssetsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAssets.
func GetAssetsOutput ¶ added in v5.10.0
func GetAssetsOutput(ctx *pulumi.Context, args GetAssetsOutputArgs, opts ...pulumi.InvokeOption) GetAssetsResultOutput
func (GetAssetsResultOutput) Arn ¶ added in v5.10.0
func (o GetAssetsResultOutput) Arn() pulumi.StringOutput
func (GetAssetsResultOutput) AssetIds ¶ added in v5.10.0
func (o GetAssetsResultOutput) AssetIds() pulumi.StringArrayOutput
List of all the asset ids found. This data source will fail if none are found.
func (GetAssetsResultOutput) ElementType ¶ added in v5.10.0
func (GetAssetsResultOutput) ElementType() reflect.Type
func (GetAssetsResultOutput) HostIdFilters ¶ added in v5.20.0
func (o GetAssetsResultOutput) HostIdFilters() pulumi.StringArrayOutput
func (GetAssetsResultOutput) Id ¶ added in v5.10.0
func (o GetAssetsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetAssetsResultOutput) StatusIdFilters ¶ added in v5.20.0
func (o GetAssetsResultOutput) StatusIdFilters() pulumi.StringArrayOutput
func (GetAssetsResultOutput) ToGetAssetsResultOutput ¶ added in v5.10.0
func (o GetAssetsResultOutput) ToGetAssetsResultOutput() GetAssetsResultOutput
func (GetAssetsResultOutput) ToGetAssetsResultOutputWithContext ¶ added in v5.10.0
func (o GetAssetsResultOutput) ToGetAssetsResultOutputWithContext(ctx context.Context) GetAssetsResultOutput
type GetOutpostArgs ¶
type GetOutpostArgs struct { // ARN. Arn *string `pulumi:"arn"` // Identifier of the Outpost. Id *string `pulumi:"id"` // Name of the Outpost. Name *string `pulumi:"name"` // AWS Account identifier of the Outpost owner. OwnerId *string `pulumi:"ownerId"` }
A collection of arguments for invoking getOutpost.
type GetOutpostInstanceTypeArgs ¶
type GetOutpostInstanceTypeArgs struct { // Outpost 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 GetOutpostInstanceTypeOutputArgs ¶
type GetOutpostInstanceTypeOutputArgs struct { // Outpost ARN. Arn pulumi.StringInput `pulumi:"arn"` // Desired instance type. Conflicts with `preferredInstanceTypes`. InstanceType pulumi.StringPtrInput `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 pulumi.StringArrayInput `pulumi:"preferredInstanceTypes"` }
A collection of arguments for invoking getOutpostInstanceType.
func (GetOutpostInstanceTypeOutputArgs) ElementType ¶
func (GetOutpostInstanceTypeOutputArgs) ElementType() reflect.Type
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 GetOutpostInstanceTypeResultOutput ¶
type GetOutpostInstanceTypeResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getOutpostInstanceType.
func GetOutpostInstanceTypeOutput ¶
func GetOutpostInstanceTypeOutput(ctx *pulumi.Context, args GetOutpostInstanceTypeOutputArgs, opts ...pulumi.InvokeOption) GetOutpostInstanceTypeResultOutput
func (GetOutpostInstanceTypeResultOutput) Arn ¶
func (o GetOutpostInstanceTypeResultOutput) Arn() pulumi.StringOutput
func (GetOutpostInstanceTypeResultOutput) ElementType ¶
func (GetOutpostInstanceTypeResultOutput) ElementType() reflect.Type
func (GetOutpostInstanceTypeResultOutput) Id ¶
func (o GetOutpostInstanceTypeResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetOutpostInstanceTypeResultOutput) InstanceType ¶
func (o GetOutpostInstanceTypeResultOutput) InstanceType() pulumi.StringOutput
func (GetOutpostInstanceTypeResultOutput) PreferredInstanceTypes ¶
func (o GetOutpostInstanceTypeResultOutput) PreferredInstanceTypes() pulumi.StringArrayOutput
func (GetOutpostInstanceTypeResultOutput) ToGetOutpostInstanceTypeResultOutput ¶
func (o GetOutpostInstanceTypeResultOutput) ToGetOutpostInstanceTypeResultOutput() GetOutpostInstanceTypeResultOutput
func (GetOutpostInstanceTypeResultOutput) ToGetOutpostInstanceTypeResultOutputWithContext ¶
func (o GetOutpostInstanceTypeResultOutput) ToGetOutpostInstanceTypeResultOutputWithContext(ctx context.Context) GetOutpostInstanceTypeResultOutput
type GetOutpostInstanceTypesArgs ¶
type GetOutpostInstanceTypesArgs struct { // Outpost ARN. Arn string `pulumi:"arn"` }
A collection of arguments for invoking getOutpostInstanceTypes.
type GetOutpostInstanceTypesOutputArgs ¶
type GetOutpostInstanceTypesOutputArgs struct { // Outpost ARN. Arn pulumi.StringInput `pulumi:"arn"` }
A collection of arguments for invoking getOutpostInstanceTypes.
func (GetOutpostInstanceTypesOutputArgs) ElementType ¶
func (GetOutpostInstanceTypesOutputArgs) ElementType() reflect.Type
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/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 }) }
```
type GetOutpostInstanceTypesResultOutput ¶
type GetOutpostInstanceTypesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getOutpostInstanceTypes.
func GetOutpostInstanceTypesOutput ¶
func GetOutpostInstanceTypesOutput(ctx *pulumi.Context, args GetOutpostInstanceTypesOutputArgs, opts ...pulumi.InvokeOption) GetOutpostInstanceTypesResultOutput
func (GetOutpostInstanceTypesResultOutput) Arn ¶
func (o GetOutpostInstanceTypesResultOutput) Arn() pulumi.StringOutput
func (GetOutpostInstanceTypesResultOutput) ElementType ¶
func (GetOutpostInstanceTypesResultOutput) ElementType() reflect.Type
func (GetOutpostInstanceTypesResultOutput) Id ¶
func (o GetOutpostInstanceTypesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetOutpostInstanceTypesResultOutput) InstanceTypes ¶
func (o GetOutpostInstanceTypesResultOutput) InstanceTypes() pulumi.StringArrayOutput
Set of instance types.
func (GetOutpostInstanceTypesResultOutput) ToGetOutpostInstanceTypesResultOutput ¶
func (o GetOutpostInstanceTypesResultOutput) ToGetOutpostInstanceTypesResultOutput() GetOutpostInstanceTypesResultOutput
func (GetOutpostInstanceTypesResultOutput) ToGetOutpostInstanceTypesResultOutputWithContext ¶
func (o GetOutpostInstanceTypesResultOutput) ToGetOutpostInstanceTypesResultOutputWithContext(ctx context.Context) GetOutpostInstanceTypesResultOutput
type GetOutpostOutputArgs ¶
type GetOutpostOutputArgs struct { // ARN. Arn pulumi.StringPtrInput `pulumi:"arn"` // Identifier of the Outpost. Id pulumi.StringPtrInput `pulumi:"id"` // Name of the Outpost. Name pulumi.StringPtrInput `pulumi:"name"` // AWS Account identifier of the Outpost owner. OwnerId pulumi.StringPtrInput `pulumi:"ownerId"` }
A collection of arguments for invoking getOutpost.
func (GetOutpostOutputArgs) ElementType ¶
func (GetOutpostOutputArgs) ElementType() reflect.Type
type GetOutpostResult ¶
type GetOutpostResult struct { 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"` 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/v5/go/aws/outposts" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := outposts.GetOutpost(ctx, &outposts.GetOutpostArgs{ Name: pulumi.StringRef("example"), }, nil) if err != nil { return err } return nil }) }
```
type GetOutpostResultOutput ¶
type GetOutpostResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getOutpost.
func GetOutpostOutput ¶
func GetOutpostOutput(ctx *pulumi.Context, args GetOutpostOutputArgs, opts ...pulumi.InvokeOption) GetOutpostResultOutput
func (GetOutpostResultOutput) Arn ¶
func (o GetOutpostResultOutput) Arn() pulumi.StringOutput
func (GetOutpostResultOutput) AvailabilityZone ¶
func (o GetOutpostResultOutput) AvailabilityZone() pulumi.StringOutput
Availability Zone name.
func (GetOutpostResultOutput) AvailabilityZoneId ¶
func (o GetOutpostResultOutput) AvailabilityZoneId() pulumi.StringOutput
Availability Zone identifier.
func (GetOutpostResultOutput) Description ¶
func (o GetOutpostResultOutput) Description() pulumi.StringOutput
Description.
func (GetOutpostResultOutput) ElementType ¶
func (GetOutpostResultOutput) ElementType() reflect.Type
func (GetOutpostResultOutput) Id ¶
func (o GetOutpostResultOutput) Id() pulumi.StringOutput
func (GetOutpostResultOutput) Name ¶
func (o GetOutpostResultOutput) Name() pulumi.StringOutput
func (GetOutpostResultOutput) OwnerId ¶
func (o GetOutpostResultOutput) OwnerId() pulumi.StringOutput
func (GetOutpostResultOutput) SiteId ¶
func (o GetOutpostResultOutput) SiteId() pulumi.StringOutput
Site identifier.
func (GetOutpostResultOutput) ToGetOutpostResultOutput ¶
func (o GetOutpostResultOutput) ToGetOutpostResultOutput() GetOutpostResultOutput
func (GetOutpostResultOutput) ToGetOutpostResultOutputWithContext ¶
func (o GetOutpostResultOutput) ToGetOutpostResultOutputWithContext(ctx context.Context) GetOutpostResultOutput
type GetOutpostsArgs ¶
type GetOutpostsArgs struct { // Availability Zone name. AvailabilityZone *string `pulumi:"availabilityZone"` // Availability Zone identifier. AvailabilityZoneId *string `pulumi:"availabilityZoneId"` // AWS Account identifier of the Outpost owner. OwnerId *string `pulumi:"ownerId"` // Site identifier. SiteId *string `pulumi:"siteId"` }
A collection of arguments for invoking getOutposts.
type GetOutpostsOutputArgs ¶
type GetOutpostsOutputArgs struct { // Availability Zone name. AvailabilityZone pulumi.StringPtrInput `pulumi:"availabilityZone"` // Availability Zone identifier. AvailabilityZoneId pulumi.StringPtrInput `pulumi:"availabilityZoneId"` // AWS Account identifier of the Outpost owner. OwnerId pulumi.StringPtrInput `pulumi:"ownerId"` // Site identifier. SiteId pulumi.StringPtrInput `pulumi:"siteId"` }
A collection of arguments for invoking getOutposts.
func (GetOutpostsOutputArgs) ElementType ¶
func (GetOutpostsOutputArgs) ElementType() reflect.Type
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"` OwnerId string `pulumi:"ownerId"` 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/v5/go/aws/outposts" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := outposts.GetOutposts(ctx, &outposts.GetOutpostsArgs{ SiteId: pulumi.StringRef(data.Aws_outposts_site.Id), }, nil) if err != nil { return err } return nil }) }
```
type GetOutpostsResultOutput ¶
type GetOutpostsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getOutposts.
func GetOutpostsOutput ¶
func GetOutpostsOutput(ctx *pulumi.Context, args GetOutpostsOutputArgs, opts ...pulumi.InvokeOption) GetOutpostsResultOutput
func (GetOutpostsResultOutput) Arns ¶
func (o GetOutpostsResultOutput) Arns() pulumi.StringArrayOutput
Set of Amazon Resource Names (ARNs).
func (GetOutpostsResultOutput) AvailabilityZone ¶
func (o GetOutpostsResultOutput) AvailabilityZone() pulumi.StringOutput
func (GetOutpostsResultOutput) AvailabilityZoneId ¶
func (o GetOutpostsResultOutput) AvailabilityZoneId() pulumi.StringOutput
func (GetOutpostsResultOutput) ElementType ¶
func (GetOutpostsResultOutput) ElementType() reflect.Type
func (GetOutpostsResultOutput) Id ¶
func (o GetOutpostsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetOutpostsResultOutput) Ids ¶
func (o GetOutpostsResultOutput) Ids() pulumi.StringArrayOutput
Set of identifiers.
func (GetOutpostsResultOutput) OwnerId ¶
func (o GetOutpostsResultOutput) OwnerId() pulumi.StringOutput
func (GetOutpostsResultOutput) SiteId ¶
func (o GetOutpostsResultOutput) SiteId() pulumi.StringOutput
func (GetOutpostsResultOutput) ToGetOutpostsResultOutput ¶
func (o GetOutpostsResultOutput) ToGetOutpostsResultOutput() GetOutpostsResultOutput
func (GetOutpostsResultOutput) ToGetOutpostsResultOutputWithContext ¶
func (o GetOutpostsResultOutput) ToGetOutpostsResultOutputWithContext(ctx context.Context) GetOutpostsResultOutput
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 GetSiteOutputArgs ¶
type GetSiteOutputArgs struct { // Identifier of the Site. Id pulumi.StringPtrInput `pulumi:"id"` // Name of the Site. Name pulumi.StringPtrInput `pulumi:"name"` }
A collection of arguments for invoking getSite.
func (GetSiteOutputArgs) ElementType ¶
func (GetSiteOutputArgs) ElementType() reflect.Type
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/v5/go/aws/outposts" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := outposts.GetSite(ctx, &outposts.GetSiteArgs{ Name: pulumi.StringRef("example"), }, nil) if err != nil { return err } return nil }) }
```
type GetSiteResultOutput ¶
type GetSiteResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSite.
func GetSiteOutput ¶
func GetSiteOutput(ctx *pulumi.Context, args GetSiteOutputArgs, opts ...pulumi.InvokeOption) GetSiteResultOutput
func (GetSiteResultOutput) AccountId ¶
func (o GetSiteResultOutput) AccountId() pulumi.StringOutput
AWS Account identifier.
func (GetSiteResultOutput) Description ¶
func (o GetSiteResultOutput) Description() pulumi.StringOutput
Description.
func (GetSiteResultOutput) ElementType ¶
func (GetSiteResultOutput) ElementType() reflect.Type
func (GetSiteResultOutput) Id ¶
func (o GetSiteResultOutput) Id() pulumi.StringOutput
func (GetSiteResultOutput) Name ¶
func (o GetSiteResultOutput) Name() pulumi.StringOutput
func (GetSiteResultOutput) ToGetSiteResultOutput ¶
func (o GetSiteResultOutput) ToGetSiteResultOutput() GetSiteResultOutput
func (GetSiteResultOutput) ToGetSiteResultOutputWithContext ¶
func (o GetSiteResultOutput) ToGetSiteResultOutputWithContext(ctx context.Context) GetSiteResultOutput
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/v5/go/aws/outposts" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := outposts.GetSites(ctx, nil, nil) if err != nil { return err } return nil }) }
```