ResourceCollection constructor

ResourceCollection(
  1. String name, {
  2. ResourceCollectionArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

ResourceCollection(
  String name, {
  ResourceCollectionArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:devopsguru/resourceCollection:ResourceCollection',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  cloudformation = registerOutput<ResourceCollectionCloudformation?>('cloudformation', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ResourceCollectionCloudformation.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  region = registerOutput<String>('region');
  tags = registerOutput<ResourceCollectionTags?>('tags', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ResourceCollectionTags.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  type = registerOutput<String>('type');
}