MapType constructor

MapType(
  1. String name, {
  2. MapArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

MapType(
  String name, {
  MapArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:location/map:Map',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  configuration = registerOutput<MapConfiguration>('configuration', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return MapConfiguration.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  createTime = registerOutput<String>('createTime');
  description = registerOutput<String?>('description');
  mapArn = registerOutput<String>('mapArn');
  mapName = registerOutput<String>('mapName');
  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');
}