location

package
v5.7.1 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetMapConfiguration

type GetMapConfiguration struct {
	// The map style selected from an available data provider.
	Style string `pulumi:"style"`
}

type GetMapConfigurationArgs

type GetMapConfigurationArgs struct {
	// The map style selected from an available data provider.
	Style pulumi.StringInput `pulumi:"style"`
}

func (GetMapConfigurationArgs) ElementType

func (GetMapConfigurationArgs) ElementType() reflect.Type

func (GetMapConfigurationArgs) ToGetMapConfigurationOutput

func (i GetMapConfigurationArgs) ToGetMapConfigurationOutput() GetMapConfigurationOutput

func (GetMapConfigurationArgs) ToGetMapConfigurationOutputWithContext

func (i GetMapConfigurationArgs) ToGetMapConfigurationOutputWithContext(ctx context.Context) GetMapConfigurationOutput

type GetMapConfigurationArray

type GetMapConfigurationArray []GetMapConfigurationInput

func (GetMapConfigurationArray) ElementType

func (GetMapConfigurationArray) ElementType() reflect.Type

func (GetMapConfigurationArray) ToGetMapConfigurationArrayOutput

func (i GetMapConfigurationArray) ToGetMapConfigurationArrayOutput() GetMapConfigurationArrayOutput

func (GetMapConfigurationArray) ToGetMapConfigurationArrayOutputWithContext

func (i GetMapConfigurationArray) ToGetMapConfigurationArrayOutputWithContext(ctx context.Context) GetMapConfigurationArrayOutput

type GetMapConfigurationArrayInput

type GetMapConfigurationArrayInput interface {
	pulumi.Input

	ToGetMapConfigurationArrayOutput() GetMapConfigurationArrayOutput
	ToGetMapConfigurationArrayOutputWithContext(context.Context) GetMapConfigurationArrayOutput
}

GetMapConfigurationArrayInput is an input type that accepts GetMapConfigurationArray and GetMapConfigurationArrayOutput values. You can construct a concrete instance of `GetMapConfigurationArrayInput` via:

GetMapConfigurationArray{ GetMapConfigurationArgs{...} }

type GetMapConfigurationArrayOutput

type GetMapConfigurationArrayOutput struct{ *pulumi.OutputState }

func (GetMapConfigurationArrayOutput) ElementType

func (GetMapConfigurationArrayOutput) Index

func (GetMapConfigurationArrayOutput) ToGetMapConfigurationArrayOutput

func (o GetMapConfigurationArrayOutput) ToGetMapConfigurationArrayOutput() GetMapConfigurationArrayOutput

func (GetMapConfigurationArrayOutput) ToGetMapConfigurationArrayOutputWithContext

func (o GetMapConfigurationArrayOutput) ToGetMapConfigurationArrayOutputWithContext(ctx context.Context) GetMapConfigurationArrayOutput

type GetMapConfigurationInput

type GetMapConfigurationInput interface {
	pulumi.Input

	ToGetMapConfigurationOutput() GetMapConfigurationOutput
	ToGetMapConfigurationOutputWithContext(context.Context) GetMapConfigurationOutput
}

GetMapConfigurationInput is an input type that accepts GetMapConfigurationArgs and GetMapConfigurationOutput values. You can construct a concrete instance of `GetMapConfigurationInput` via:

GetMapConfigurationArgs{...}

type GetMapConfigurationOutput

type GetMapConfigurationOutput struct{ *pulumi.OutputState }

func (GetMapConfigurationOutput) ElementType

func (GetMapConfigurationOutput) ElementType() reflect.Type

func (GetMapConfigurationOutput) Style

The map style selected from an available data provider.

func (GetMapConfigurationOutput) ToGetMapConfigurationOutput

func (o GetMapConfigurationOutput) ToGetMapConfigurationOutput() GetMapConfigurationOutput

func (GetMapConfigurationOutput) ToGetMapConfigurationOutputWithContext

func (o GetMapConfigurationOutput) ToGetMapConfigurationOutputWithContext(ctx context.Context) GetMapConfigurationOutput

type GetPlaceIndexDataSourceConfiguration added in v5.6.0

type GetPlaceIndexDataSourceConfiguration struct {
	IntendedUse string `pulumi:"intendedUse"`
}

type GetPlaceIndexDataSourceConfigurationArgs added in v5.6.0

type GetPlaceIndexDataSourceConfigurationArgs struct {
	IntendedUse pulumi.StringInput `pulumi:"intendedUse"`
}

func (GetPlaceIndexDataSourceConfigurationArgs) ElementType added in v5.6.0

func (GetPlaceIndexDataSourceConfigurationArgs) ToGetPlaceIndexDataSourceConfigurationOutput added in v5.6.0

func (i GetPlaceIndexDataSourceConfigurationArgs) ToGetPlaceIndexDataSourceConfigurationOutput() GetPlaceIndexDataSourceConfigurationOutput

func (GetPlaceIndexDataSourceConfigurationArgs) ToGetPlaceIndexDataSourceConfigurationOutputWithContext added in v5.6.0

func (i GetPlaceIndexDataSourceConfigurationArgs) ToGetPlaceIndexDataSourceConfigurationOutputWithContext(ctx context.Context) GetPlaceIndexDataSourceConfigurationOutput

type GetPlaceIndexDataSourceConfigurationArray added in v5.6.0

type GetPlaceIndexDataSourceConfigurationArray []GetPlaceIndexDataSourceConfigurationInput

func (GetPlaceIndexDataSourceConfigurationArray) ElementType added in v5.6.0

func (GetPlaceIndexDataSourceConfigurationArray) ToGetPlaceIndexDataSourceConfigurationArrayOutput added in v5.6.0

func (i GetPlaceIndexDataSourceConfigurationArray) ToGetPlaceIndexDataSourceConfigurationArrayOutput() GetPlaceIndexDataSourceConfigurationArrayOutput

func (GetPlaceIndexDataSourceConfigurationArray) ToGetPlaceIndexDataSourceConfigurationArrayOutputWithContext added in v5.6.0

func (i GetPlaceIndexDataSourceConfigurationArray) ToGetPlaceIndexDataSourceConfigurationArrayOutputWithContext(ctx context.Context) GetPlaceIndexDataSourceConfigurationArrayOutput

type GetPlaceIndexDataSourceConfigurationArrayInput added in v5.6.0

type GetPlaceIndexDataSourceConfigurationArrayInput interface {
	pulumi.Input

	ToGetPlaceIndexDataSourceConfigurationArrayOutput() GetPlaceIndexDataSourceConfigurationArrayOutput
	ToGetPlaceIndexDataSourceConfigurationArrayOutputWithContext(context.Context) GetPlaceIndexDataSourceConfigurationArrayOutput
}

GetPlaceIndexDataSourceConfigurationArrayInput is an input type that accepts GetPlaceIndexDataSourceConfigurationArray and GetPlaceIndexDataSourceConfigurationArrayOutput values. You can construct a concrete instance of `GetPlaceIndexDataSourceConfigurationArrayInput` via:

GetPlaceIndexDataSourceConfigurationArray{ GetPlaceIndexDataSourceConfigurationArgs{...} }

type GetPlaceIndexDataSourceConfigurationArrayOutput added in v5.6.0

type GetPlaceIndexDataSourceConfigurationArrayOutput struct{ *pulumi.OutputState }

func (GetPlaceIndexDataSourceConfigurationArrayOutput) ElementType added in v5.6.0

func (GetPlaceIndexDataSourceConfigurationArrayOutput) Index added in v5.6.0

func (GetPlaceIndexDataSourceConfigurationArrayOutput) ToGetPlaceIndexDataSourceConfigurationArrayOutput added in v5.6.0

func (o GetPlaceIndexDataSourceConfigurationArrayOutput) ToGetPlaceIndexDataSourceConfigurationArrayOutput() GetPlaceIndexDataSourceConfigurationArrayOutput

func (GetPlaceIndexDataSourceConfigurationArrayOutput) ToGetPlaceIndexDataSourceConfigurationArrayOutputWithContext added in v5.6.0

func (o GetPlaceIndexDataSourceConfigurationArrayOutput) ToGetPlaceIndexDataSourceConfigurationArrayOutputWithContext(ctx context.Context) GetPlaceIndexDataSourceConfigurationArrayOutput

type GetPlaceIndexDataSourceConfigurationInput added in v5.6.0

type GetPlaceIndexDataSourceConfigurationInput interface {
	pulumi.Input

	ToGetPlaceIndexDataSourceConfigurationOutput() GetPlaceIndexDataSourceConfigurationOutput
	ToGetPlaceIndexDataSourceConfigurationOutputWithContext(context.Context) GetPlaceIndexDataSourceConfigurationOutput
}

GetPlaceIndexDataSourceConfigurationInput is an input type that accepts GetPlaceIndexDataSourceConfigurationArgs and GetPlaceIndexDataSourceConfigurationOutput values. You can construct a concrete instance of `GetPlaceIndexDataSourceConfigurationInput` via:

GetPlaceIndexDataSourceConfigurationArgs{...}

type GetPlaceIndexDataSourceConfigurationOutput added in v5.6.0

type GetPlaceIndexDataSourceConfigurationOutput struct{ *pulumi.OutputState }

func (GetPlaceIndexDataSourceConfigurationOutput) ElementType added in v5.6.0

func (GetPlaceIndexDataSourceConfigurationOutput) IntendedUse added in v5.6.0

func (GetPlaceIndexDataSourceConfigurationOutput) ToGetPlaceIndexDataSourceConfigurationOutput added in v5.6.0

func (o GetPlaceIndexDataSourceConfigurationOutput) ToGetPlaceIndexDataSourceConfigurationOutput() GetPlaceIndexDataSourceConfigurationOutput

func (GetPlaceIndexDataSourceConfigurationOutput) ToGetPlaceIndexDataSourceConfigurationOutputWithContext added in v5.6.0

func (o GetPlaceIndexDataSourceConfigurationOutput) ToGetPlaceIndexDataSourceConfigurationOutputWithContext(ctx context.Context) GetPlaceIndexDataSourceConfigurationOutput

type LookupMapArgs

type LookupMapArgs struct {
	// The name of the map resource.
	MapName string `pulumi:"mapName"`
	// Key-value map of resource tags for the map.
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getMap.

type LookupMapOutputArgs

type LookupMapOutputArgs struct {
	// The name of the map resource.
	MapName pulumi.StringInput `pulumi:"mapName"`
	// Key-value map of resource tags for the map.
	Tags pulumi.StringMapInput `pulumi:"tags"`
}

A collection of arguments for invoking getMap.

func (LookupMapOutputArgs) ElementType

func (LookupMapOutputArgs) ElementType() reflect.Type

type LookupMapResult

type LookupMapResult struct {
	// List of configurations that specify the map tile style selected from a partner data provider.
	Configurations []GetMapConfiguration `pulumi:"configurations"`
	// The timestamp for when the map resource was created in ISO 8601 format.
	CreateTime string `pulumi:"createTime"`
	// The optional description for the map resource.
	Description string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The Amazon Resource Name (ARN) for the map resource.
	MapArn  string `pulumi:"mapArn"`
	MapName string `pulumi:"mapName"`
	// Key-value map of resource tags for the map.
	Tags map[string]string `pulumi:"tags"`
	// The timestamp for when the map resource was last updated in ISO 8601.
	UpdateTime string `pulumi:"updateTime"`
}

A collection of values returned by getMap.

func LookupMap

func LookupMap(ctx *pulumi.Context, args *LookupMapArgs, opts ...pulumi.InvokeOption) (*LookupMapResult, error)

Retrieve information about a Location Service Map.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/location"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := location.LookupMap(ctx, &location.LookupMapArgs{
			MapName: "example",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupMapResultOutput

type LookupMapResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getMap.

func (LookupMapResultOutput) Configurations

List of configurations that specify the map tile style selected from a partner data provider.

func (LookupMapResultOutput) CreateTime

func (o LookupMapResultOutput) CreateTime() pulumi.StringOutput

The timestamp for when the map resource was created in ISO 8601 format.

func (LookupMapResultOutput) Description

func (o LookupMapResultOutput) Description() pulumi.StringOutput

The optional description for the map resource.

func (LookupMapResultOutput) ElementType

func (LookupMapResultOutput) ElementType() reflect.Type

func (LookupMapResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupMapResultOutput) MapArn

The Amazon Resource Name (ARN) for the map resource.

func (LookupMapResultOutput) MapName

func (LookupMapResultOutput) Tags

Key-value map of resource tags for the map.

func (LookupMapResultOutput) ToLookupMapResultOutput

func (o LookupMapResultOutput) ToLookupMapResultOutput() LookupMapResultOutput

func (LookupMapResultOutput) ToLookupMapResultOutputWithContext

func (o LookupMapResultOutput) ToLookupMapResultOutputWithContext(ctx context.Context) LookupMapResultOutput

func (LookupMapResultOutput) UpdateTime

func (o LookupMapResultOutput) UpdateTime() pulumi.StringOutput

The timestamp for when the map resource was last updated in ISO 8601.

type LookupPlaceIndexArgs added in v5.6.0

type LookupPlaceIndexArgs struct {
	// The name of the place index resource.
	IndexName string `pulumi:"indexName"`
	// Key-value map of resource tags for the map.
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getPlaceIndex.

type LookupPlaceIndexOutputArgs added in v5.6.0

type LookupPlaceIndexOutputArgs struct {
	// The name of the place index resource.
	IndexName pulumi.StringInput `pulumi:"indexName"`
	// Key-value map of resource tags for the map.
	Tags pulumi.StringMapInput `pulumi:"tags"`
}

A collection of arguments for invoking getPlaceIndex.

func (LookupPlaceIndexOutputArgs) ElementType added in v5.6.0

func (LookupPlaceIndexOutputArgs) ElementType() reflect.Type

type LookupPlaceIndexResult added in v5.6.0

type LookupPlaceIndexResult struct {
	// The timestamp for when the place index resource was created in ISO 8601 format.
	CreateTime string `pulumi:"createTime"`
	// The data provider of geospatial data.
	DataSource string `pulumi:"dataSource"`
	// List of configurations that specify data storage option for requesting Places.
	DataSourceConfigurations []GetPlaceIndexDataSourceConfiguration `pulumi:"dataSourceConfigurations"`
	// The optional description for the place index resource.
	Description string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The Amazon Resource Name (ARN) for the place index resource.
	IndexArn  string `pulumi:"indexArn"`
	IndexName string `pulumi:"indexName"`
	// Key-value map of resource tags for the map.
	Tags map[string]string `pulumi:"tags"`
	// The timestamp for when the place index resource was last update in ISO 8601.
	UpdateTime string `pulumi:"updateTime"`
}

A collection of values returned by getPlaceIndex.

func LookupPlaceIndex added in v5.6.0

func LookupPlaceIndex(ctx *pulumi.Context, args *LookupPlaceIndexArgs, opts ...pulumi.InvokeOption) (*LookupPlaceIndexResult, error)

Retrieve information about a Location Service Place Index.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/location"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := location.LookupPlaceIndex(ctx, &location.LookupPlaceIndexArgs{
			IndexName: "example",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupPlaceIndexResultOutput added in v5.6.0

type LookupPlaceIndexResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPlaceIndex.

func LookupPlaceIndexOutput added in v5.6.0

func (LookupPlaceIndexResultOutput) CreateTime added in v5.6.0

The timestamp for when the place index resource was created in ISO 8601 format.

func (LookupPlaceIndexResultOutput) DataSource added in v5.6.0

The data provider of geospatial data.

func (LookupPlaceIndexResultOutput) DataSourceConfigurations added in v5.6.0

List of configurations that specify data storage option for requesting Places.

func (LookupPlaceIndexResultOutput) Description added in v5.6.0

The optional description for the place index resource.

func (LookupPlaceIndexResultOutput) ElementType added in v5.6.0

func (LookupPlaceIndexResultOutput) Id added in v5.6.0

The provider-assigned unique ID for this managed resource.

func (LookupPlaceIndexResultOutput) IndexArn added in v5.6.0

The Amazon Resource Name (ARN) for the place index resource.

func (LookupPlaceIndexResultOutput) IndexName added in v5.6.0

func (LookupPlaceIndexResultOutput) Tags added in v5.6.0

Key-value map of resource tags for the map.

func (LookupPlaceIndexResultOutput) ToLookupPlaceIndexResultOutput added in v5.6.0

func (o LookupPlaceIndexResultOutput) ToLookupPlaceIndexResultOutput() LookupPlaceIndexResultOutput

func (LookupPlaceIndexResultOutput) ToLookupPlaceIndexResultOutputWithContext added in v5.6.0

func (o LookupPlaceIndexResultOutput) ToLookupPlaceIndexResultOutputWithContext(ctx context.Context) LookupPlaceIndexResultOutput

func (LookupPlaceIndexResultOutput) UpdateTime added in v5.6.0

The timestamp for when the place index resource was last update in ISO 8601.

type Map

type Map struct {
	pulumi.CustomResourceState

	// Configuration block with the map style selected from an available data provider. Detailed below.
	Configuration MapConfigurationOutput `pulumi:"configuration"`
	// The timestamp for when the map resource was created in ISO 8601 format.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// An optional description for the map resource.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The Amazon Resource Name (ARN) for the map resource. Used to specify a resource across all AWS.
	MapArn pulumi.StringOutput `pulumi:"mapArn"`
	// The name for the map resource.
	MapName pulumi.StringOutput    `pulumi:"mapName"`
	Tags    pulumi.StringMapOutput `pulumi:"tags"`
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// The timestamp for when the map resource was last updated in ISO 8601.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Provides a Location Service Map.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/location"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := location.NewMap(ctx, "example", &location.MapArgs{
			Configuration: &location.MapConfigurationArgs{
				Style: pulumi.String("VectorHereBerlin"),
			},
			MapName: pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_location_map` resources can be imported using the map name, e.g.

```sh

$ pulumi import aws:location/map:Map example example

```

func GetMap

func GetMap(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MapState, opts ...pulumi.ResourceOption) (*Map, error)

GetMap gets an existing Map resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewMap

func NewMap(ctx *pulumi.Context,
	name string, args *MapArgs, opts ...pulumi.ResourceOption) (*Map, error)

NewMap registers a new resource with the given unique name, arguments, and options.

func (*Map) ElementType

func (*Map) ElementType() reflect.Type

func (*Map) ToMapOutput

func (i *Map) ToMapOutput() MapOutput

func (*Map) ToMapOutputWithContext

func (i *Map) ToMapOutputWithContext(ctx context.Context) MapOutput

type MapArgs

type MapArgs struct {
	// Configuration block with the map style selected from an available data provider. Detailed below.
	Configuration MapConfigurationInput
	// An optional description for the map resource.
	Description pulumi.StringPtrInput
	// The name for the map resource.
	MapName pulumi.StringInput
	Tags    pulumi.StringMapInput
	TagsAll pulumi.StringMapInput
}

The set of arguments for constructing a Map resource.

func (MapArgs) ElementType

func (MapArgs) ElementType() reflect.Type

type MapArray

type MapArray []MapInput

func (MapArray) ElementType

func (MapArray) ElementType() reflect.Type

func (MapArray) ToMapArrayOutput

func (i MapArray) ToMapArrayOutput() MapArrayOutput

func (MapArray) ToMapArrayOutputWithContext

func (i MapArray) ToMapArrayOutputWithContext(ctx context.Context) MapArrayOutput

type MapArrayInput

type MapArrayInput interface {
	pulumi.Input

	ToMapArrayOutput() MapArrayOutput
	ToMapArrayOutputWithContext(context.Context) MapArrayOutput
}

MapArrayInput is an input type that accepts MapArray and MapArrayOutput values. You can construct a concrete instance of `MapArrayInput` via:

MapArray{ MapArgs{...} }

type MapArrayOutput

type MapArrayOutput struct{ *pulumi.OutputState }

func (MapArrayOutput) ElementType

func (MapArrayOutput) ElementType() reflect.Type

func (MapArrayOutput) Index

func (MapArrayOutput) ToMapArrayOutput

func (o MapArrayOutput) ToMapArrayOutput() MapArrayOutput

func (MapArrayOutput) ToMapArrayOutputWithContext

func (o MapArrayOutput) ToMapArrayOutputWithContext(ctx context.Context) MapArrayOutput

type MapConfiguration

type MapConfiguration struct {
	// Specifies the map style selected from an available data provider. Valid values can be found in the [Location Service CreateMap API Reference](https://docs.aws.amazon.com/location-maps/latest/APIReference/API_CreateMap.html).
	Style string `pulumi:"style"`
}

type MapConfigurationArgs

type MapConfigurationArgs struct {
	// Specifies the map style selected from an available data provider. Valid values can be found in the [Location Service CreateMap API Reference](https://docs.aws.amazon.com/location-maps/latest/APIReference/API_CreateMap.html).
	Style pulumi.StringInput `pulumi:"style"`
}

func (MapConfigurationArgs) ElementType

func (MapConfigurationArgs) ElementType() reflect.Type

func (MapConfigurationArgs) ToMapConfigurationOutput

func (i MapConfigurationArgs) ToMapConfigurationOutput() MapConfigurationOutput

func (MapConfigurationArgs) ToMapConfigurationOutputWithContext

func (i MapConfigurationArgs) ToMapConfigurationOutputWithContext(ctx context.Context) MapConfigurationOutput

func (MapConfigurationArgs) ToMapConfigurationPtrOutput

func (i MapConfigurationArgs) ToMapConfigurationPtrOutput() MapConfigurationPtrOutput

func (MapConfigurationArgs) ToMapConfigurationPtrOutputWithContext

func (i MapConfigurationArgs) ToMapConfigurationPtrOutputWithContext(ctx context.Context) MapConfigurationPtrOutput

type MapConfigurationInput

type MapConfigurationInput interface {
	pulumi.Input

	ToMapConfigurationOutput() MapConfigurationOutput
	ToMapConfigurationOutputWithContext(context.Context) MapConfigurationOutput
}

MapConfigurationInput is an input type that accepts MapConfigurationArgs and MapConfigurationOutput values. You can construct a concrete instance of `MapConfigurationInput` via:

MapConfigurationArgs{...}

type MapConfigurationOutput

type MapConfigurationOutput struct{ *pulumi.OutputState }

func (MapConfigurationOutput) ElementType

func (MapConfigurationOutput) ElementType() reflect.Type

func (MapConfigurationOutput) Style

Specifies the map style selected from an available data provider. Valid values can be found in the [Location Service CreateMap API Reference](https://docs.aws.amazon.com/location-maps/latest/APIReference/API_CreateMap.html).

func (MapConfigurationOutput) ToMapConfigurationOutput

func (o MapConfigurationOutput) ToMapConfigurationOutput() MapConfigurationOutput

func (MapConfigurationOutput) ToMapConfigurationOutputWithContext

func (o MapConfigurationOutput) ToMapConfigurationOutputWithContext(ctx context.Context) MapConfigurationOutput

func (MapConfigurationOutput) ToMapConfigurationPtrOutput

func (o MapConfigurationOutput) ToMapConfigurationPtrOutput() MapConfigurationPtrOutput

func (MapConfigurationOutput) ToMapConfigurationPtrOutputWithContext

func (o MapConfigurationOutput) ToMapConfigurationPtrOutputWithContext(ctx context.Context) MapConfigurationPtrOutput

type MapConfigurationPtrInput

type MapConfigurationPtrInput interface {
	pulumi.Input

	ToMapConfigurationPtrOutput() MapConfigurationPtrOutput
	ToMapConfigurationPtrOutputWithContext(context.Context) MapConfigurationPtrOutput
}

MapConfigurationPtrInput is an input type that accepts MapConfigurationArgs, MapConfigurationPtr and MapConfigurationPtrOutput values. You can construct a concrete instance of `MapConfigurationPtrInput` via:

        MapConfigurationArgs{...}

or:

        nil

type MapConfigurationPtrOutput

type MapConfigurationPtrOutput struct{ *pulumi.OutputState }

func (MapConfigurationPtrOutput) Elem

func (MapConfigurationPtrOutput) ElementType

func (MapConfigurationPtrOutput) ElementType() reflect.Type

func (MapConfigurationPtrOutput) Style

Specifies the map style selected from an available data provider. Valid values can be found in the [Location Service CreateMap API Reference](https://docs.aws.amazon.com/location-maps/latest/APIReference/API_CreateMap.html).

func (MapConfigurationPtrOutput) ToMapConfigurationPtrOutput

func (o MapConfigurationPtrOutput) ToMapConfigurationPtrOutput() MapConfigurationPtrOutput

func (MapConfigurationPtrOutput) ToMapConfigurationPtrOutputWithContext

func (o MapConfigurationPtrOutput) ToMapConfigurationPtrOutputWithContext(ctx context.Context) MapConfigurationPtrOutput

type MapInput

type MapInput interface {
	pulumi.Input

	ToMapOutput() MapOutput
	ToMapOutputWithContext(ctx context.Context) MapOutput
}

type MapMap

type MapMap map[string]MapInput

func (MapMap) ElementType

func (MapMap) ElementType() reflect.Type

func (MapMap) ToMapMapOutput

func (i MapMap) ToMapMapOutput() MapMapOutput

func (MapMap) ToMapMapOutputWithContext

func (i MapMap) ToMapMapOutputWithContext(ctx context.Context) MapMapOutput

type MapMapInput

type MapMapInput interface {
	pulumi.Input

	ToMapMapOutput() MapMapOutput
	ToMapMapOutputWithContext(context.Context) MapMapOutput
}

MapMapInput is an input type that accepts MapMap and MapMapOutput values. You can construct a concrete instance of `MapMapInput` via:

MapMap{ "key": MapArgs{...} }

type MapMapOutput

type MapMapOutput struct{ *pulumi.OutputState }

func (MapMapOutput) ElementType

func (MapMapOutput) ElementType() reflect.Type

func (MapMapOutput) MapIndex

func (o MapMapOutput) MapIndex(k pulumi.StringInput) MapOutput

func (MapMapOutput) ToMapMapOutput

func (o MapMapOutput) ToMapMapOutput() MapMapOutput

func (MapMapOutput) ToMapMapOutputWithContext

func (o MapMapOutput) ToMapMapOutputWithContext(ctx context.Context) MapMapOutput

type MapOutput

type MapOutput struct{ *pulumi.OutputState }

func (MapOutput) Configuration

func (o MapOutput) Configuration() MapConfigurationOutput

Configuration block with the map style selected from an available data provider. Detailed below.

func (MapOutput) CreateTime

func (o MapOutput) CreateTime() pulumi.StringOutput

The timestamp for when the map resource was created in ISO 8601 format.

func (MapOutput) Description

func (o MapOutput) Description() pulumi.StringPtrOutput

An optional description for the map resource.

func (MapOutput) ElementType

func (MapOutput) ElementType() reflect.Type

func (MapOutput) MapArn

func (o MapOutput) MapArn() pulumi.StringOutput

The Amazon Resource Name (ARN) for the map resource. Used to specify a resource across all AWS.

func (MapOutput) MapName

func (o MapOutput) MapName() pulumi.StringOutput

The name for the map resource.

func (MapOutput) Tags

func (o MapOutput) Tags() pulumi.StringMapOutput

func (MapOutput) TagsAll

func (o MapOutput) TagsAll() pulumi.StringMapOutput

func (MapOutput) ToMapOutput

func (o MapOutput) ToMapOutput() MapOutput

func (MapOutput) ToMapOutputWithContext

func (o MapOutput) ToMapOutputWithContext(ctx context.Context) MapOutput

func (MapOutput) UpdateTime

func (o MapOutput) UpdateTime() pulumi.StringOutput

The timestamp for when the map resource was last updated in ISO 8601.

type MapState

type MapState struct {
	// Configuration block with the map style selected from an available data provider. Detailed below.
	Configuration MapConfigurationPtrInput
	// The timestamp for when the map resource was created in ISO 8601 format.
	CreateTime pulumi.StringPtrInput
	// An optional description for the map resource.
	Description pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) for the map resource. Used to specify a resource across all AWS.
	MapArn pulumi.StringPtrInput
	// The name for the map resource.
	MapName pulumi.StringPtrInput
	Tags    pulumi.StringMapInput
	TagsAll pulumi.StringMapInput
	// The timestamp for when the map resource was last updated in ISO 8601.
	UpdateTime pulumi.StringPtrInput
}

func (MapState) ElementType

func (MapState) ElementType() reflect.Type

type PlaceIndex added in v5.6.0

type PlaceIndex struct {
	pulumi.CustomResourceState

	// The timestamp for when the place index resource was created in ISO 8601 format.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Specifies the geospatial data provider for the new place index.
	DataSource pulumi.StringOutput `pulumi:"dataSource"`
	// Configuration block with the data storage option chosen for requesting Places. Detailed below.
	DataSourceConfiguration PlaceIndexDataSourceConfigurationOutput `pulumi:"dataSourceConfiguration"`
	// The optional description for the place index resource.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The Amazon Resource Name (ARN) for the place index resource. Used to specify a resource across AWS.
	IndexArn pulumi.StringOutput `pulumi:"indexArn"`
	// The name of the place index resource.
	IndexName pulumi.StringOutput    `pulumi:"indexName"`
	Tags      pulumi.StringMapOutput `pulumi:"tags"`
	TagsAll   pulumi.StringMapOutput `pulumi:"tagsAll"`
	// The timestamp for when the place index resource was last update in ISO 8601.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Provides a Location Service Place Index.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/location"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := location.NewPlaceIndex(ctx, "example", &location.PlaceIndexArgs{
			DataSource: pulumi.String("Here"),
			IndexName:  pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_location_place_index` resources can be imported using the place index name, e.g.

```sh

$ pulumi import aws:location/placeIndex:PlaceIndex example example

```

func GetPlaceIndex added in v5.6.0

func GetPlaceIndex(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PlaceIndexState, opts ...pulumi.ResourceOption) (*PlaceIndex, error)

GetPlaceIndex gets an existing PlaceIndex resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPlaceIndex added in v5.6.0

func NewPlaceIndex(ctx *pulumi.Context,
	name string, args *PlaceIndexArgs, opts ...pulumi.ResourceOption) (*PlaceIndex, error)

NewPlaceIndex registers a new resource with the given unique name, arguments, and options.

func (*PlaceIndex) ElementType added in v5.6.0

func (*PlaceIndex) ElementType() reflect.Type

func (*PlaceIndex) ToPlaceIndexOutput added in v5.6.0

func (i *PlaceIndex) ToPlaceIndexOutput() PlaceIndexOutput

func (*PlaceIndex) ToPlaceIndexOutputWithContext added in v5.6.0

func (i *PlaceIndex) ToPlaceIndexOutputWithContext(ctx context.Context) PlaceIndexOutput

type PlaceIndexArgs added in v5.6.0

type PlaceIndexArgs struct {
	// Specifies the geospatial data provider for the new place index.
	DataSource pulumi.StringInput
	// Configuration block with the data storage option chosen for requesting Places. Detailed below.
	DataSourceConfiguration PlaceIndexDataSourceConfigurationPtrInput
	// The optional description for the place index resource.
	Description pulumi.StringPtrInput
	// The name of the place index resource.
	IndexName pulumi.StringInput
	Tags      pulumi.StringMapInput
	TagsAll   pulumi.StringMapInput
}

The set of arguments for constructing a PlaceIndex resource.

func (PlaceIndexArgs) ElementType added in v5.6.0

func (PlaceIndexArgs) ElementType() reflect.Type

type PlaceIndexArray added in v5.6.0

type PlaceIndexArray []PlaceIndexInput

func (PlaceIndexArray) ElementType added in v5.6.0

func (PlaceIndexArray) ElementType() reflect.Type

func (PlaceIndexArray) ToPlaceIndexArrayOutput added in v5.6.0

func (i PlaceIndexArray) ToPlaceIndexArrayOutput() PlaceIndexArrayOutput

func (PlaceIndexArray) ToPlaceIndexArrayOutputWithContext added in v5.6.0

func (i PlaceIndexArray) ToPlaceIndexArrayOutputWithContext(ctx context.Context) PlaceIndexArrayOutput

type PlaceIndexArrayInput added in v5.6.0

type PlaceIndexArrayInput interface {
	pulumi.Input

	ToPlaceIndexArrayOutput() PlaceIndexArrayOutput
	ToPlaceIndexArrayOutputWithContext(context.Context) PlaceIndexArrayOutput
}

PlaceIndexArrayInput is an input type that accepts PlaceIndexArray and PlaceIndexArrayOutput values. You can construct a concrete instance of `PlaceIndexArrayInput` via:

PlaceIndexArray{ PlaceIndexArgs{...} }

type PlaceIndexArrayOutput added in v5.6.0

type PlaceIndexArrayOutput struct{ *pulumi.OutputState }

func (PlaceIndexArrayOutput) ElementType added in v5.6.0

func (PlaceIndexArrayOutput) ElementType() reflect.Type

func (PlaceIndexArrayOutput) Index added in v5.6.0

func (PlaceIndexArrayOutput) ToPlaceIndexArrayOutput added in v5.6.0

func (o PlaceIndexArrayOutput) ToPlaceIndexArrayOutput() PlaceIndexArrayOutput

func (PlaceIndexArrayOutput) ToPlaceIndexArrayOutputWithContext added in v5.6.0

func (o PlaceIndexArrayOutput) ToPlaceIndexArrayOutputWithContext(ctx context.Context) PlaceIndexArrayOutput

type PlaceIndexDataSourceConfiguration added in v5.6.0

type PlaceIndexDataSourceConfiguration struct {
	// Specifies how the results of an operation will be stored by the caller. Valid values: `SingleUse`, `Storage`. Default: `SingleUse`.
	IntendedUse *string `pulumi:"intendedUse"`
}

type PlaceIndexDataSourceConfigurationArgs added in v5.6.0

type PlaceIndexDataSourceConfigurationArgs struct {
	// Specifies how the results of an operation will be stored by the caller. Valid values: `SingleUse`, `Storage`. Default: `SingleUse`.
	IntendedUse pulumi.StringPtrInput `pulumi:"intendedUse"`
}

func (PlaceIndexDataSourceConfigurationArgs) ElementType added in v5.6.0

func (PlaceIndexDataSourceConfigurationArgs) ToPlaceIndexDataSourceConfigurationOutput added in v5.6.0

func (i PlaceIndexDataSourceConfigurationArgs) ToPlaceIndexDataSourceConfigurationOutput() PlaceIndexDataSourceConfigurationOutput

func (PlaceIndexDataSourceConfigurationArgs) ToPlaceIndexDataSourceConfigurationOutputWithContext added in v5.6.0

func (i PlaceIndexDataSourceConfigurationArgs) ToPlaceIndexDataSourceConfigurationOutputWithContext(ctx context.Context) PlaceIndexDataSourceConfigurationOutput

func (PlaceIndexDataSourceConfigurationArgs) ToPlaceIndexDataSourceConfigurationPtrOutput added in v5.6.0

func (i PlaceIndexDataSourceConfigurationArgs) ToPlaceIndexDataSourceConfigurationPtrOutput() PlaceIndexDataSourceConfigurationPtrOutput

func (PlaceIndexDataSourceConfigurationArgs) ToPlaceIndexDataSourceConfigurationPtrOutputWithContext added in v5.6.0

func (i PlaceIndexDataSourceConfigurationArgs) ToPlaceIndexDataSourceConfigurationPtrOutputWithContext(ctx context.Context) PlaceIndexDataSourceConfigurationPtrOutput

type PlaceIndexDataSourceConfigurationInput added in v5.6.0

type PlaceIndexDataSourceConfigurationInput interface {
	pulumi.Input

	ToPlaceIndexDataSourceConfigurationOutput() PlaceIndexDataSourceConfigurationOutput
	ToPlaceIndexDataSourceConfigurationOutputWithContext(context.Context) PlaceIndexDataSourceConfigurationOutput
}

PlaceIndexDataSourceConfigurationInput is an input type that accepts PlaceIndexDataSourceConfigurationArgs and PlaceIndexDataSourceConfigurationOutput values. You can construct a concrete instance of `PlaceIndexDataSourceConfigurationInput` via:

PlaceIndexDataSourceConfigurationArgs{...}

type PlaceIndexDataSourceConfigurationOutput added in v5.6.0

type PlaceIndexDataSourceConfigurationOutput struct{ *pulumi.OutputState }

func (PlaceIndexDataSourceConfigurationOutput) ElementType added in v5.6.0

func (PlaceIndexDataSourceConfigurationOutput) IntendedUse added in v5.6.0

Specifies how the results of an operation will be stored by the caller. Valid values: `SingleUse`, `Storage`. Default: `SingleUse`.

func (PlaceIndexDataSourceConfigurationOutput) ToPlaceIndexDataSourceConfigurationOutput added in v5.6.0

func (o PlaceIndexDataSourceConfigurationOutput) ToPlaceIndexDataSourceConfigurationOutput() PlaceIndexDataSourceConfigurationOutput

func (PlaceIndexDataSourceConfigurationOutput) ToPlaceIndexDataSourceConfigurationOutputWithContext added in v5.6.0

func (o PlaceIndexDataSourceConfigurationOutput) ToPlaceIndexDataSourceConfigurationOutputWithContext(ctx context.Context) PlaceIndexDataSourceConfigurationOutput

func (PlaceIndexDataSourceConfigurationOutput) ToPlaceIndexDataSourceConfigurationPtrOutput added in v5.6.0

func (o PlaceIndexDataSourceConfigurationOutput) ToPlaceIndexDataSourceConfigurationPtrOutput() PlaceIndexDataSourceConfigurationPtrOutput

func (PlaceIndexDataSourceConfigurationOutput) ToPlaceIndexDataSourceConfigurationPtrOutputWithContext added in v5.6.0

func (o PlaceIndexDataSourceConfigurationOutput) ToPlaceIndexDataSourceConfigurationPtrOutputWithContext(ctx context.Context) PlaceIndexDataSourceConfigurationPtrOutput

type PlaceIndexDataSourceConfigurationPtrInput added in v5.6.0

type PlaceIndexDataSourceConfigurationPtrInput interface {
	pulumi.Input

	ToPlaceIndexDataSourceConfigurationPtrOutput() PlaceIndexDataSourceConfigurationPtrOutput
	ToPlaceIndexDataSourceConfigurationPtrOutputWithContext(context.Context) PlaceIndexDataSourceConfigurationPtrOutput
}

PlaceIndexDataSourceConfigurationPtrInput is an input type that accepts PlaceIndexDataSourceConfigurationArgs, PlaceIndexDataSourceConfigurationPtr and PlaceIndexDataSourceConfigurationPtrOutput values. You can construct a concrete instance of `PlaceIndexDataSourceConfigurationPtrInput` via:

        PlaceIndexDataSourceConfigurationArgs{...}

or:

        nil

type PlaceIndexDataSourceConfigurationPtrOutput added in v5.6.0

type PlaceIndexDataSourceConfigurationPtrOutput struct{ *pulumi.OutputState }

func (PlaceIndexDataSourceConfigurationPtrOutput) Elem added in v5.6.0

func (PlaceIndexDataSourceConfigurationPtrOutput) ElementType added in v5.6.0

func (PlaceIndexDataSourceConfigurationPtrOutput) IntendedUse added in v5.6.0

Specifies how the results of an operation will be stored by the caller. Valid values: `SingleUse`, `Storage`. Default: `SingleUse`.

func (PlaceIndexDataSourceConfigurationPtrOutput) ToPlaceIndexDataSourceConfigurationPtrOutput added in v5.6.0

func (o PlaceIndexDataSourceConfigurationPtrOutput) ToPlaceIndexDataSourceConfigurationPtrOutput() PlaceIndexDataSourceConfigurationPtrOutput

func (PlaceIndexDataSourceConfigurationPtrOutput) ToPlaceIndexDataSourceConfigurationPtrOutputWithContext added in v5.6.0

func (o PlaceIndexDataSourceConfigurationPtrOutput) ToPlaceIndexDataSourceConfigurationPtrOutputWithContext(ctx context.Context) PlaceIndexDataSourceConfigurationPtrOutput

type PlaceIndexInput added in v5.6.0

type PlaceIndexInput interface {
	pulumi.Input

	ToPlaceIndexOutput() PlaceIndexOutput
	ToPlaceIndexOutputWithContext(ctx context.Context) PlaceIndexOutput
}

type PlaceIndexMap added in v5.6.0

type PlaceIndexMap map[string]PlaceIndexInput

func (PlaceIndexMap) ElementType added in v5.6.0

func (PlaceIndexMap) ElementType() reflect.Type

func (PlaceIndexMap) ToPlaceIndexMapOutput added in v5.6.0

func (i PlaceIndexMap) ToPlaceIndexMapOutput() PlaceIndexMapOutput

func (PlaceIndexMap) ToPlaceIndexMapOutputWithContext added in v5.6.0

func (i PlaceIndexMap) ToPlaceIndexMapOutputWithContext(ctx context.Context) PlaceIndexMapOutput

type PlaceIndexMapInput added in v5.6.0

type PlaceIndexMapInput interface {
	pulumi.Input

	ToPlaceIndexMapOutput() PlaceIndexMapOutput
	ToPlaceIndexMapOutputWithContext(context.Context) PlaceIndexMapOutput
}

PlaceIndexMapInput is an input type that accepts PlaceIndexMap and PlaceIndexMapOutput values. You can construct a concrete instance of `PlaceIndexMapInput` via:

PlaceIndexMap{ "key": PlaceIndexArgs{...} }

type PlaceIndexMapOutput added in v5.6.0

type PlaceIndexMapOutput struct{ *pulumi.OutputState }

func (PlaceIndexMapOutput) ElementType added in v5.6.0

func (PlaceIndexMapOutput) ElementType() reflect.Type

func (PlaceIndexMapOutput) MapIndex added in v5.6.0

func (PlaceIndexMapOutput) ToPlaceIndexMapOutput added in v5.6.0

func (o PlaceIndexMapOutput) ToPlaceIndexMapOutput() PlaceIndexMapOutput

func (PlaceIndexMapOutput) ToPlaceIndexMapOutputWithContext added in v5.6.0

func (o PlaceIndexMapOutput) ToPlaceIndexMapOutputWithContext(ctx context.Context) PlaceIndexMapOutput

type PlaceIndexOutput added in v5.6.0

type PlaceIndexOutput struct{ *pulumi.OutputState }

func (PlaceIndexOutput) CreateTime added in v5.6.0

func (o PlaceIndexOutput) CreateTime() pulumi.StringOutput

The timestamp for when the place index resource was created in ISO 8601 format.

func (PlaceIndexOutput) DataSource added in v5.6.0

func (o PlaceIndexOutput) DataSource() pulumi.StringOutput

Specifies the geospatial data provider for the new place index.

func (PlaceIndexOutput) DataSourceConfiguration added in v5.6.0

func (o PlaceIndexOutput) DataSourceConfiguration() PlaceIndexDataSourceConfigurationOutput

Configuration block with the data storage option chosen for requesting Places. Detailed below.

func (PlaceIndexOutput) Description added in v5.6.0

func (o PlaceIndexOutput) Description() pulumi.StringPtrOutput

The optional description for the place index resource.

func (PlaceIndexOutput) ElementType added in v5.6.0

func (PlaceIndexOutput) ElementType() reflect.Type

func (PlaceIndexOutput) IndexArn added in v5.6.0

func (o PlaceIndexOutput) IndexArn() pulumi.StringOutput

The Amazon Resource Name (ARN) for the place index resource. Used to specify a resource across AWS.

func (PlaceIndexOutput) IndexName added in v5.6.0

func (o PlaceIndexOutput) IndexName() pulumi.StringOutput

The name of the place index resource.

func (PlaceIndexOutput) Tags added in v5.6.0

func (PlaceIndexOutput) TagsAll added in v5.6.0

func (PlaceIndexOutput) ToPlaceIndexOutput added in v5.6.0

func (o PlaceIndexOutput) ToPlaceIndexOutput() PlaceIndexOutput

func (PlaceIndexOutput) ToPlaceIndexOutputWithContext added in v5.6.0

func (o PlaceIndexOutput) ToPlaceIndexOutputWithContext(ctx context.Context) PlaceIndexOutput

func (PlaceIndexOutput) UpdateTime added in v5.6.0

func (o PlaceIndexOutput) UpdateTime() pulumi.StringOutput

The timestamp for when the place index resource was last update in ISO 8601.

type PlaceIndexState added in v5.6.0

type PlaceIndexState struct {
	// The timestamp for when the place index resource was created in ISO 8601 format.
	CreateTime pulumi.StringPtrInput
	// Specifies the geospatial data provider for the new place index.
	DataSource pulumi.StringPtrInput
	// Configuration block with the data storage option chosen for requesting Places. Detailed below.
	DataSourceConfiguration PlaceIndexDataSourceConfigurationPtrInput
	// The optional description for the place index resource.
	Description pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) for the place index resource. Used to specify a resource across AWS.
	IndexArn pulumi.StringPtrInput
	// The name of the place index resource.
	IndexName pulumi.StringPtrInput
	Tags      pulumi.StringMapInput
	TagsAll   pulumi.StringMapInput
	// The timestamp for when the place index resource was last update in ISO 8601.
	UpdateTime pulumi.StringPtrInput
}

func (PlaceIndexState) ElementType added in v5.6.0

func (PlaceIndexState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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