location

package
v5.5.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 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 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 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

Jump to

Keyboard shortcuts

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