outposts

package
v4.38.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetOutpostArgs

type GetOutpostArgs struct {
	// Amazon Resource Name (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 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 GetOutpostInstanceTypeOutputArgs added in v4.21.0

type GetOutpostInstanceTypeOutputArgs struct {
	// Outpost Amazon Resource Name (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 added in v4.21.0

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 added in v4.21.0

type GetOutpostInstanceTypeResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getOutpostInstanceType.

func GetOutpostInstanceTypeOutput added in v4.21.0

func (GetOutpostInstanceTypeResultOutput) Arn added in v4.21.0

func (GetOutpostInstanceTypeResultOutput) ElementType added in v4.21.0

func (GetOutpostInstanceTypeResultOutput) Id added in v4.21.0

The provider-assigned unique ID for this managed resource.

func (GetOutpostInstanceTypeResultOutput) InstanceType added in v4.21.0

func (GetOutpostInstanceTypeResultOutput) PreferredInstanceTypes added in v4.21.0

func (o GetOutpostInstanceTypeResultOutput) PreferredInstanceTypes() pulumi.StringArrayOutput

func (GetOutpostInstanceTypeResultOutput) ToGetOutpostInstanceTypeResultOutput added in v4.21.0

func (o GetOutpostInstanceTypeResultOutput) ToGetOutpostInstanceTypeResultOutput() GetOutpostInstanceTypeResultOutput

func (GetOutpostInstanceTypeResultOutput) ToGetOutpostInstanceTypeResultOutputWithContext added in v4.21.0

func (o GetOutpostInstanceTypeResultOutput) ToGetOutpostInstanceTypeResultOutputWithContext(ctx context.Context) GetOutpostInstanceTypeResultOutput

type GetOutpostInstanceTypesArgs

type GetOutpostInstanceTypesArgs struct {
	// Outpost Amazon Resource Name (ARN).
	Arn string `pulumi:"arn"`
}

A collection of arguments for invoking getOutpostInstanceTypes.

type GetOutpostInstanceTypesOutputArgs added in v4.21.0

type GetOutpostInstanceTypesOutputArgs struct {
	// Outpost Amazon Resource Name (ARN).
	Arn pulumi.StringInput `pulumi:"arn"`
}

A collection of arguments for invoking getOutpostInstanceTypes.

func (GetOutpostInstanceTypesOutputArgs) ElementType added in v4.21.0

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/v4/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 added in v4.21.0

type GetOutpostInstanceTypesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getOutpostInstanceTypes.

func GetOutpostInstanceTypesOutput added in v4.21.0

func (GetOutpostInstanceTypesResultOutput) Arn added in v4.21.0

func (GetOutpostInstanceTypesResultOutput) ElementType added in v4.21.0

func (GetOutpostInstanceTypesResultOutput) Id added in v4.21.0

The provider-assigned unique ID for this managed resource.

func (GetOutpostInstanceTypesResultOutput) InstanceTypes added in v4.21.0

Set of instance types.

func (GetOutpostInstanceTypesResultOutput) ToGetOutpostInstanceTypesResultOutput added in v4.21.0

func (o GetOutpostInstanceTypesResultOutput) ToGetOutpostInstanceTypesResultOutput() GetOutpostInstanceTypesResultOutput

func (GetOutpostInstanceTypesResultOutput) ToGetOutpostInstanceTypesResultOutputWithContext added in v4.21.0

func (o GetOutpostInstanceTypesResultOutput) ToGetOutpostInstanceTypesResultOutputWithContext(ctx context.Context) GetOutpostInstanceTypesResultOutput

type GetOutpostOutputArgs added in v4.21.0

type GetOutpostOutputArgs struct {
	// Amazon Resource Name (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 added in v4.21.0

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/v4/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 added in v4.21.0

type GetOutpostResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getOutpost.

func GetOutpostOutput added in v4.21.0

func GetOutpostOutput(ctx *pulumi.Context, args GetOutpostOutputArgs, opts ...pulumi.InvokeOption) GetOutpostResultOutput

func (GetOutpostResultOutput) Arn added in v4.21.0

func (GetOutpostResultOutput) AvailabilityZone added in v4.21.0

func (o GetOutpostResultOutput) AvailabilityZone() pulumi.StringOutput

Availability Zone name.

func (GetOutpostResultOutput) AvailabilityZoneId added in v4.21.0

func (o GetOutpostResultOutput) AvailabilityZoneId() pulumi.StringOutput

Availability Zone identifier.

func (GetOutpostResultOutput) Description added in v4.21.0

func (o GetOutpostResultOutput) Description() pulumi.StringOutput

Description.

func (GetOutpostResultOutput) ElementType added in v4.21.0

func (GetOutpostResultOutput) ElementType() reflect.Type

func (GetOutpostResultOutput) Id added in v4.21.0

func (GetOutpostResultOutput) Name added in v4.21.0

func (GetOutpostResultOutput) OwnerId added in v4.21.0

func (GetOutpostResultOutput) SiteId added in v4.21.0

Site identifier.

func (GetOutpostResultOutput) ToGetOutpostResultOutput added in v4.21.0

func (o GetOutpostResultOutput) ToGetOutpostResultOutput() GetOutpostResultOutput

func (GetOutpostResultOutput) ToGetOutpostResultOutputWithContext added in v4.21.0

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 added in v4.21.0

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 added in v4.21.0

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/v4/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 added in v4.21.0

type GetOutpostsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getOutposts.

func GetOutpostsOutput added in v4.21.0

func GetOutpostsOutput(ctx *pulumi.Context, args GetOutpostsOutputArgs, opts ...pulumi.InvokeOption) GetOutpostsResultOutput

func (GetOutpostsResultOutput) Arns added in v4.21.0

Set of Amazon Resource Names (ARNs).

func (GetOutpostsResultOutput) AvailabilityZone added in v4.21.0

func (o GetOutpostsResultOutput) AvailabilityZone() pulumi.StringOutput

func (GetOutpostsResultOutput) AvailabilityZoneId added in v4.21.0

func (o GetOutpostsResultOutput) AvailabilityZoneId() pulumi.StringOutput

func (GetOutpostsResultOutput) ElementType added in v4.21.0

func (GetOutpostsResultOutput) ElementType() reflect.Type

func (GetOutpostsResultOutput) Id added in v4.21.0

The provider-assigned unique ID for this managed resource.

func (GetOutpostsResultOutput) Ids added in v4.21.0

Set of identifiers.

func (GetOutpostsResultOutput) OwnerId added in v4.21.0

func (GetOutpostsResultOutput) SiteId added in v4.21.0

func (GetOutpostsResultOutput) ToGetOutpostsResultOutput added in v4.21.0

func (o GetOutpostsResultOutput) ToGetOutpostsResultOutput() GetOutpostsResultOutput

func (GetOutpostsResultOutput) ToGetOutpostsResultOutputWithContext added in v4.21.0

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 added in v4.21.0

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 added in v4.21.0

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/v4/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 added in v4.21.0

type GetSiteResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSite.

func GetSiteOutput added in v4.21.0

func GetSiteOutput(ctx *pulumi.Context, args GetSiteOutputArgs, opts ...pulumi.InvokeOption) GetSiteResultOutput

func (GetSiteResultOutput) AccountId added in v4.21.0

func (o GetSiteResultOutput) AccountId() pulumi.StringOutput

AWS Account identifier.

func (GetSiteResultOutput) Description added in v4.21.0

func (o GetSiteResultOutput) Description() pulumi.StringOutput

Description.

func (GetSiteResultOutput) ElementType added in v4.21.0

func (GetSiteResultOutput) ElementType() reflect.Type

func (GetSiteResultOutput) Id added in v4.21.0

func (GetSiteResultOutput) Name added in v4.21.0

func (GetSiteResultOutput) ToGetSiteResultOutput added in v4.21.0

func (o GetSiteResultOutput) ToGetSiteResultOutput() GetSiteResultOutput

func (GetSiteResultOutput) ToGetSiteResultOutputWithContext added in v4.21.0

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/v4/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
	})
}

```

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL