com.pulumi.aws.location.GeofenceCollection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.location;
import com.pulumi.aws.Utilities;
import com.pulumi.aws.location.GeofenceCollectionArgs;
import com.pulumi.aws.location.inputs.GeofenceCollectionState;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Export;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import java.lang.String;
import java.util.Map;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* Resource for managing an AWS Location Geofence Collection.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* 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());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
* ## Import
*
* Using `pulumi import`, import Location Geofence Collection using the `collection_name`. For example:
*
* ```sh
* $ pulumi import aws:location/geofenceCollection:GeofenceCollection example example
* ```
*
*/
@ResourceType(type="aws:location/geofenceCollection:GeofenceCollection")
public class GeofenceCollection extends com.pulumi.resources.CustomResource {
/**
* The Amazon Resource Name (ARN) for the geofence collection resource. Used when you need to specify a resource across all AWS.
*
*/
@Export(name="collectionArn", refs={String.class}, tree="[0]")
private Output collectionArn;
/**
* @return The Amazon Resource Name (ARN) for the geofence collection resource. Used when you need to specify a resource across all AWS.
*
*/
public Output collectionArn() {
return this.collectionArn;
}
/**
* The name of the geofence collection.
*
* The following arguments are optional:
*
*/
@Export(name="collectionName", refs={String.class}, tree="[0]")
private Output collectionName;
/**
* @return The name of the geofence collection.
*
* The following arguments are optional:
*
*/
public Output collectionName() {
return this.collectionName;
}
/**
* The timestamp for when the geofence collection resource was created in ISO 8601 format.
*
*/
@Export(name="createTime", refs={String.class}, tree="[0]")
private Output createTime;
/**
* @return The timestamp for when the geofence collection resource was created in ISO 8601 format.
*
*/
public Output createTime() {
return this.createTime;
}
/**
* The optional description for the geofence collection.
*
*/
@Export(name="description", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> description;
/**
* @return The optional description for the geofence collection.
*
*/
public Output> description() {
return Codegen.optional(this.description);
}
/**
* A key identifier for an AWS KMS customer managed key assigned to the Amazon Location resource.
*
*/
@Export(name="kmsKeyId", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> kmsKeyId;
/**
* @return A key identifier for an AWS KMS customer managed key assigned to the Amazon Location resource.
*
*/
public Output> kmsKeyId() {
return Codegen.optional(this.kmsKeyId);
}
/**
* 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.
*
*/
@Export(name="tags", refs={Map.class,String.class}, tree="[0,1,1]")
private Output* @Nullable */ Map> tags;
/**
* @return 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.
*
*/
public Output>> tags() {
return Codegen.optional(this.tags);
}
/**
* @deprecated
* Please use `tags` instead.
*
*/
@Deprecated /* Please use `tags` instead. */
@Export(name="tagsAll", refs={Map.class,String.class}, tree="[0,1,1]")
private Output
© 2015 - 2025 Weber Informatics LLC | Privacy Policy