View.reference constructor
View.reference(
- String urn
Creates a typed reference to an existing View resource.
Implementation
View.reference(String urn)
: super(
'aws:resourceexplorer/view:View',
pulumi.parseUrn(urn).urnName,
const <String, pulumi.Input<dynamic>>{},
pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
isResourceReference: true,
) {
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>(); });
}