ConfigurationAggregator constructor

ConfigurationAggregator(
  1. String name, {
  2. ConfigurationAggregatorArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

ConfigurationAggregator(
  String name, {
  ConfigurationAggregatorArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:cfg/configurationAggregator:ConfigurationAggregator',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  accountAggregationSource = registerOutput<ConfigurationAggregatorAccountAggregationSource?>('accountAggregationSource', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ConfigurationAggregatorAccountAggregationSource.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  arn = registerOutput<String>('arn');
  this.name = registerOutput<String>('name');
  organizationAggregationSource = registerOutput<ConfigurationAggregatorOrganizationAggregationSource?>('organizationAggregationSource', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ConfigurationAggregatorOrganizationAggregationSource.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  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>(); });
}