Skip to content

CreateExperimentTemplateTargetInput

Source code in docs_src/capo_fis/types/create_experiment_template_target_input.py
class CreateExperimentTemplateTargetInput(TypedDict, closed=True):
    resource_type: "capo_fis.types.target_resource_type_id.TargetResourceTypeId"
    """<p>The resource type. The resource type must be supported for the specified action.</p>"""
    resource_arns: NotRequired["capo_fis.types.resource_arn_list.ResourceArnList"]
    """<p>The Amazon Resource Names (ARNs) of the resources.</p>"""
    resource_tags: NotRequired["capo_fis.types.tag_map.TagMap"]
    """<p>The tags for the target resources.</p>"""
    filters: NotRequired[
        "capo_fis.types.experiment_template_target_filter_input_list.ExperimentTemplateTargetFilterInputList"
    ]
    """<p>The filters to apply to identify target resources using specific attributes.</p>"""
    selection_mode: "capo_fis.types.experiment_template_target_selection_mode.ExperimentTemplateTargetSelectionMode"
    """<p>Scopes the identified resources to a specific count of the resources at random, or a percentage of the resources. All identified resources are included in the target.</p> <ul> <li> <p>ALL - Run the action on all identified targets. This is the default.</p> </li> <li> <p>COUNT(n) - Run the action on the specified number of targets, chosen from the identified targets at random. For example, COUNT(1) selects one of the targets.</p> </li> <li> <p>PERCENT(n) - Run the action on the specified percentage of targets, chosen from the identified targets at random. For example, PERCENT(25) selects 25% of the targets.</p> </li> </ul>"""
    parameters: NotRequired[
        "capo_fis.types.experiment_template_target_parameter_map.ExperimentTemplateTargetParameterMap"
    ]
    """<p>The resource type parameters.</p>"""

filters instance-attribute

The filters to apply to identify target resources using specific attributes.

parameters instance-attribute

parameters: NotRequired[ExperimentTemplateTargetParameterMap]

The resource type parameters.

resource_arns instance-attribute

resource_arns: NotRequired[ResourceArnList]

The Amazon Resource Names (ARNs) of the resources.

resource_tags instance-attribute

resource_tags: NotRequired[TagMap]

The tags for the target resources.

resource_type instance-attribute

resource_type: TargetResourceTypeId

The resource type. The resource type must be supported for the specified action.

selection_mode instance-attribute

Scopes the identified resources to a specific count of the resources at random, or a percentage of the resources. All identified resources are included in the target.

  • ALL - Run the action on all identified targets. This is the default.

  • COUNT(n) - Run the action on the specified number of targets, chosen from the identified targets at random. For example, COUNT(1) selects one of the targets.

  • PERCENT(n) - Run the action on the specified percentage of targets, chosen from the identified targets at random. For example, PERCENT(25) selects 25% of the targets.