InstanceDesiredState constructor

InstanceDesiredState(
  1. String name, {
  2. InstanceDesiredStateArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

InstanceDesiredState(
  String name, {
  InstanceDesiredStateArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:rds/instanceDesiredState:InstanceDesiredState',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  identifier = registerOutput<String>('identifier');
  region = registerOutput<String>('region');
  state = registerOutput<String>('state');
  timeouts = registerOutput<InstanceDesiredStateTimeouts?>('timeouts', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return InstanceDesiredStateTimeouts.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}