ResourceSet constructor
ResourceSet(
- String name, {
- ResourceSetArgs? args,
- CustomResourceOptions? options,
Creates a new ResourceSet.
name The Pulumi resource name.
args Arguments used to configure this ResourceSet. The set of arguments for ResourceSet.
options Resource options controlling this resource's behavior.
Implementation
ResourceSet(
String name, {
ResourceSetArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:fms/resourceSet:ResourceSet',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
arn = registerOutput<String>('arn');
region = registerOutput<String>('region');
resourceSets = registerOutput<List<ResourceSetResourceSet>?>('resourceSets', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<ResourceSetResourceSet>(guardedValue, (value) => ResourceSetResourceSet.fromMap((value as Map).cast<String, dynamic>())); });
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>(); });
timeouts = registerOutput<ResourceSetTimeouts?>('timeouts', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ResourceSetTimeouts.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}