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) LifecycleStatus() pulumi.StringOutput
- func (o GetOutpostResultOutput) Name() pulumi.StringOutput
- func (o GetOutpostResultOutput) OwnerId() pulumi.StringPtrOutput
- func (o GetOutpostResultOutput) SiteArn() pulumi.StringOutput
- func (o GetOutpostResultOutput) SiteId() pulumi.StringOutput
- func (o GetOutpostResultOutput) SupportedHardwareType() pulumi.StringOutput
- func (o GetOutpostResultOutput) Tags() pulumi.StringMapOutput
- 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
- type GetSitesResultOutput
- func (GetSitesResultOutput) ElementType() reflect.Type
- func (o GetSitesResultOutput) Id() pulumi.StringOutput
- func (o GetSitesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetSitesResultOutput) ToGetSitesResultOutput() GetSitesResultOutput
- func (o GetSitesResultOutput) ToGetSitesResultOutputWithContext(ctx context.Context) GetSitesResultOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetAssetArgs ¶
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 ¶
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 ¶
func (GetAssetOutputArgs) ElementType() reflect.Type
type GetAssetResult ¶
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 ¶
func GetAsset(ctx *pulumi.Context, args *GetAssetArgs, opts ...pulumi.InvokeOption) (*GetAssetResult, error)
Information about a specific hardware asset in an Outpost.
type GetAssetResultOutput ¶
type GetAssetResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAsset.
func GetAssetOutput ¶
func GetAssetOutput(ctx *pulumi.Context, args GetAssetOutputArgs, opts ...pulumi.InvokeOption) GetAssetResultOutput
func (GetAssetResultOutput) Arn ¶
func (o GetAssetResultOutput) Arn() pulumi.StringOutput
func (GetAssetResultOutput) AssetId ¶
func (o GetAssetResultOutput) AssetId() pulumi.StringOutput
func (GetAssetResultOutput) AssetType ¶
func (o GetAssetResultOutput) AssetType() pulumi.StringOutput
Type of the asset.
func (GetAssetResultOutput) ElementType ¶
func (GetAssetResultOutput) ElementType() reflect.Type
func (GetAssetResultOutput) HostId ¶
func (o GetAssetResultOutput) HostId() pulumi.StringOutput
Host ID of the Dedicated Hosts on the asset, if a Dedicated Host is provisioned.
func (GetAssetResultOutput) Id ¶
func (o GetAssetResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetAssetResultOutput) RackElevation ¶
func (o GetAssetResultOutput) RackElevation() pulumi.IntOutput
Position of an asset in a rack measured in rack units.
func (GetAssetResultOutput) RackId ¶
func (o GetAssetResultOutput) RackId() pulumi.StringOutput
Rack ID of the asset.
func (GetAssetResultOutput) ToGetAssetResultOutput ¶
func (o GetAssetResultOutput) ToGetAssetResultOutput() GetAssetResultOutput
func (GetAssetResultOutput) ToGetAssetResultOutputWithContext ¶
func (o GetAssetResultOutput) ToGetAssetResultOutputWithContext(ctx context.Context) GetAssetResultOutput
type GetAssetsArgs ¶
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 ¶
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 ¶
func (GetAssetsOutputArgs) ElementType() reflect.Type
type GetAssetsResult ¶
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 ¶
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/v6/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: exampleAwsOutpostsOutpost.Arn, }, nil) if err != nil { return err } return nil }) }
```
### With Host ID Filter
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/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: exampleAwsOutpostsOutpost.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/v6/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: exampleAwsOutpostsOutpost.Arn, StatusIdFilters: []string{ "ACTIVE", }, }, nil) if err != nil { return err } return nil }) }
```
type GetAssetsResultOutput ¶
type GetAssetsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAssets.
func GetAssetsOutput ¶
func GetAssetsOutput(ctx *pulumi.Context, args GetAssetsOutputArgs, opts ...pulumi.InvokeOption) GetAssetsResultOutput
func (GetAssetsResultOutput) Arn ¶
func (o GetAssetsResultOutput) Arn() pulumi.StringOutput
func (GetAssetsResultOutput) AssetIds ¶
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 ¶
func (GetAssetsResultOutput) ElementType() reflect.Type
func (GetAssetsResultOutput) HostIdFilters ¶
func (o GetAssetsResultOutput) HostIdFilters() pulumi.StringArrayOutput
func (GetAssetsResultOutput) Id ¶
func (o GetAssetsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetAssetsResultOutput) StatusIdFilters ¶
func (o GetAssetsResultOutput) StatusIdFilters() pulumi.StringArrayOutput
func (GetAssetsResultOutput) ToGetAssetsResultOutput ¶
func (o GetAssetsResultOutput) ToGetAssetsResultOutput() GetAssetsResultOutput
func (GetAssetsResultOutput) ToGetAssetsResultOutputWithContext ¶
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"` // The Outpost tags. Tags map[string]string `pulumi:"tags"` }
A collection of arguments for invoking getOutpost.
type GetOutpostInstanceTypeArgs ¶
type GetOutpostInstanceTypeArgs struct { // Outpost ARN. // // The following arguments are optional: 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. // // The following arguments are optional: 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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/outposts" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := outposts.GetOutpostInstanceType(ctx, &outposts.GetOutpostInstanceTypeArgs{ Arn: exampleAwsOutpostsOutpost.Arn, PreferredInstanceTypes: []string{ "m5.large", "m5.4xlarge", }, }, nil) if err != nil { return err } _, err = aws.NewEc2Instance(ctx, "example", &aws.Ec2InstanceArgs{ InstanceType: example.InstanceType, }) if err != nil { return err } return nil }) }
```
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/v6/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: exampleAwsOutpostsOutpost.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"` // The Outpost tags. Tags pulumi.StringMapInput `pulumi:"tags"` }
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"` // The description of the Outpost. Description string `pulumi:"description"` Id string `pulumi:"id"` // The life cycle status. LifecycleStatus string `pulumi:"lifecycleStatus"` Name string `pulumi:"name"` OwnerId *string `pulumi:"ownerId"` // The Amazon Resource Name (ARN) of the site. SiteArn string `pulumi:"siteArn"` // The ID of the site. SiteId string `pulumi:"siteId"` // The hardware type. SupportedHardwareType string `pulumi:"supportedHardwareType"` // The Outpost tags. Tags map[string]string `pulumi:"tags"` }
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/v6/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
The description of the Outpost.
func (GetOutpostResultOutput) ElementType ¶
func (GetOutpostResultOutput) ElementType() reflect.Type
func (GetOutpostResultOutput) Id ¶
func (o GetOutpostResultOutput) Id() pulumi.StringOutput
func (GetOutpostResultOutput) LifecycleStatus ¶
func (o GetOutpostResultOutput) LifecycleStatus() pulumi.StringOutput
The life cycle status.
func (GetOutpostResultOutput) Name ¶
func (o GetOutpostResultOutput) Name() pulumi.StringOutput
func (GetOutpostResultOutput) OwnerId ¶
func (o GetOutpostResultOutput) OwnerId() pulumi.StringPtrOutput
func (GetOutpostResultOutput) SiteArn ¶
func (o GetOutpostResultOutput) SiteArn() pulumi.StringOutput
The Amazon Resource Name (ARN) of the site.
func (GetOutpostResultOutput) SiteId ¶
func (o GetOutpostResultOutput) SiteId() pulumi.StringOutput
The ID of the site.
func (GetOutpostResultOutput) SupportedHardwareType ¶
func (o GetOutpostResultOutput) SupportedHardwareType() pulumi.StringOutput
The hardware type.
func (GetOutpostResultOutput) Tags ¶
func (o GetOutpostResultOutput) Tags() pulumi.StringMapOutput
The Outpost tags.
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/v6/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(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/v6/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/v6/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 }) }
```
type GetSitesResultOutput ¶ added in v6.6.1
type GetSitesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSites.
func GetSitesOutput ¶ added in v6.6.1
func GetSitesOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetSitesResultOutput
func (GetSitesResultOutput) ElementType ¶ added in v6.6.1
func (GetSitesResultOutput) ElementType() reflect.Type
func (GetSitesResultOutput) Id ¶ added in v6.6.1
func (o GetSitesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetSitesResultOutput) Ids ¶ added in v6.6.1
func (o GetSitesResultOutput) Ids() pulumi.StringArrayOutput
Set of Outposts Site identifiers.
func (GetSitesResultOutput) ToGetSitesResultOutput ¶ added in v6.6.1
func (o GetSitesResultOutput) ToGetSitesResultOutput() GetSitesResultOutput
func (GetSitesResultOutput) ToGetSitesResultOutputWithContext ¶ added in v6.6.1
func (o GetSitesResultOutput) ToGetSitesResultOutputWithContext(ctx context.Context) GetSitesResultOutput