Selection constructor

Selection(
  1. String name, {
  2. SelectionArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

Selection(
  String name, {
  SelectionArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:backup/selection:Selection',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        options ?? pulumi.CustomResourceOptions(),
      ) {
  conditions = registerOutput<List<Map<String, dynamic>>>('conditions');
  iamRoleArn = registerOutput<String>('iamRoleArn');
  this.name = registerOutput<String>('name');
  notResources = registerOutput<List<String>>('notResources');
  planId = registerOutput<String>('planId');
  region = registerOutput<String>('region');
  resources = registerOutput<List<String>?>('resources');
  selectionTags = registerOutput<List<Map<String, dynamic>>?>('selectionTags');
}