RegionSettings constructor

RegionSettings(
  1. String name, {
  2. RegionSettingsArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

RegionSettings(
  String name, {
  RegionSettingsArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:backup/regionSettings:RegionSettings',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  region = registerOutput<String>('region');
  resourceTypeManagementPreference = registerOutput<Map<String, bool>>('resourceTypeManagementPreference', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, bool>(); });
  resourceTypeOptInPreference = registerOutput<Map<String, bool>>('resourceTypeOptInPreference', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, bool>(); });
}