GeofenceCollection

class GeofenceCollection : KotlinCustomResource

Resource for managing an AWS Location Geofence Collection.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.location.GeofenceCollection("example", {collectionName: "example"});
import pulumi
import pulumi_aws as aws
example = aws.location.GeofenceCollection("example", collection_name="example")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Location.GeofenceCollection("example", new()
{
CollectionName = "example",
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/location"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := location.NewGeofenceCollection(ctx, "example", &location.GeofenceCollectionArgs{
CollectionName: pulumi.String("example"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.location.GeofenceCollection;
import com.pulumi.aws.location.GeofenceCollectionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new GeofenceCollection("example", GeofenceCollectionArgs.builder()
.collectionName("example")
.build());
}
}
resources:
example:
type: aws:location:GeofenceCollection
properties:
collectionName: example

Import

Using pulumi import, import Location Geofence Collection using the collection_name. For example:

$ pulumi import aws:location/geofenceCollection:GeofenceCollection example example

Properties

Link copied to clipboard
val collectionArn: Output<String>

The Amazon Resource Name (ARN) for the geofence collection resource. Used when you need to specify a resource across all AWS.

Link copied to clipboard
val collectionName: Output<String>

The name of the geofence collection. The following arguments are optional:

Link copied to clipboard
val createTime: Output<String>

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

Link copied to clipboard
val description: Output<String>?

The optional description for the geofence collection.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val kmsKeyId: Output<String>?

A key identifier for an AWS KMS customer managed key assigned to the Amazon Location resource.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tags: Output<Map<String, String>>?

Key-value tags for the geofence collection. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>
Link copied to clipboard
val updateTime: Output<String>

The timestamp for when the geofence collection resource was last updated in ISO 8601 format.

Link copied to clipboard
val urn: Output<String>