View constructor

View(
  1. String name, {
  2. ViewArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

View(
  String name, {
  ViewArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:resourceexplorer/view:View',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  arn = registerOutput<String>('arn');
  defaultView = registerOutput<bool>('defaultView');
  filters = registerOutput<ViewFilters?>('filters', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ViewFilters.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  includedProperties = registerOutput<List<ViewIncludedProperty>?>('includedProperties', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<ViewIncludedProperty>(guardedValue, (value) => ViewIncludedProperty.fromMap((value as Map).cast<String, dynamic>())); });
  this.name = registerOutput<String>('name');
  region = registerOutput<String>('region');
  scope = registerOutput<String>('scope');
  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>(); });
}