import * as core from "@terrascript/core";

export interface GeofenceCollectionArgs extends core.ResourceArgs {
  collectionName: string | core.StringOut;

  description?: string | core.StringOut;

  kmsKeyId?: string | core.StringOut;

  tags?: core.Map<string, string> | core.MapOut<core.StringOut>;

  tagsAll?: core.Map<string, string> | core.MapOut<core.StringOut>;
}

export class GeofenceCollection extends core.Resource<GeofenceCollectionArgs> {
  @core.attr(String, { computed: true })
  public collectionArn!: string | core.StringOut;

  @core.attr(String)
  public collectionName!: string | core.StringOut;

  @core.attr(String, { computed: true })
  public createTime!: string | core.StringOut;

  @core.attr(String)
  public description?: string | core.StringOut;

  @core.attr(String, { computed: true })
  public id!: string | core.StringOut;

  @core.attr(String)
  public kmsKeyId?: string | core.StringOut;

  @core.attr(String, { kind: "map" })
  public tags?: core.Map<string, string> | core.MapOut<core.StringOut>;

  @core.attr(String, { computed: true, kind: "map" })
  public tagsAll?: core.Map<string, string> | core.MapOut<core.StringOut>;

  @core.attr(String, { computed: true })
  public updateTime!: string | core.StringOut;

  constructor(name: string, args?: GeofenceCollectionArgs) {
    super(name, "aws_location_geofence_collection", args);
  }

  public override getNamespace(): string {
    return "aws_location";
  }
}
