GeofenceCollection constructor

GeofenceCollection(
  1. String name, {
  2. GeofenceCollectionArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new GeofenceCollection. name The Pulumi resource name. args Arguments used to configure this GeofenceCollection. The set of arguments for GeofenceCollection. options Resource options controlling this resource's behavior.

Implementation

GeofenceCollection(
  String name, {
  GeofenceCollectionArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:location/geofenceCollection:GeofenceCollection',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  collectionArn = registerOutput<String>('collectionArn');
  collectionName = registerOutput<String>('collectionName');
  createTime = registerOutput<String>('createTime');
  description = registerOutput<String?>('description');
  kmsKeyId = registerOutput<String?>('kmsKeyId');
  region = registerOutput<String>('region');
  tags = registerOutput<Map<String, String>?>('tags', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
  tagsAll = registerOutput<Map<String, String>>('tagsAll', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
  updateTime = registerOutput<String>('updateTime');
}