Class: Aws::FIS::Types::UpdateExperimentTemplateRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-fis/lib/aws-sdk-fis/types.rb

Overview

Note:

When making an API call, you may pass UpdateExperimentTemplateRequest data as a hash:

{
  id: "ExperimentTemplateId", # required
  description: "ExperimentTemplateDescription",
  stop_conditions: [
    {
      source: "StopConditionSource", # required
      value: "StopConditionValue",
    },
  ],
  targets: {
    "ExperimentTemplateTargetName" => {
      resource_type: "ResourceType", # required
      resource_arns: ["ResourceArn"],
      resource_tags: {
        "TagKey" => "TagValue",
      },
      filters: [
        {
          path: "ExperimentTemplateTargetFilterPath", # required
          values: ["ExperimentTemplateTargetFilterValue"], # required
        },
      ],
      selection_mode: "ExperimentTemplateTargetSelectionMode", # required
    },
  },
  actions: {
    "ExperimentTemplateActionName" => {
      action_id: "ActionId",
      description: "ExperimentTemplateActionDescription",
      parameters: {
        "ExperimentTemplateActionParameterName" => "ExperimentTemplateActionParameter",
      },
      targets: {
        "ExperimentTemplateActionTargetName" => "ExperimentTemplateTargetName",
      },
      start_after: ["ExperimentTemplateActionStartAfter"],
    },
  },
  role_arn: "RoleArn",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#actionsHash<String,Types::UpdateExperimentTemplateActionInputItem>

The actions for the experiment.



1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
# File 'gems/aws-sdk-fis/lib/aws-sdk-fis/types.rb', line 1439

class UpdateExperimentTemplateRequest < Struct.new(
  :id,
  :description,
  :stop_conditions,
  :targets,
  :actions,
  :role_arn)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

A description for the template.

Returns:

  • (String)


1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
# File 'gems/aws-sdk-fis/lib/aws-sdk-fis/types.rb', line 1439

class UpdateExperimentTemplateRequest < Struct.new(
  :id,
  :description,
  :stop_conditions,
  :targets,
  :actions,
  :role_arn)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The ID of the experiment template.

Returns:

  • (String)


1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
# File 'gems/aws-sdk-fis/lib/aws-sdk-fis/types.rb', line 1439

class UpdateExperimentTemplateRequest < Struct.new(
  :id,
  :description,
  :stop_conditions,
  :targets,
  :actions,
  :role_arn)
  SENSITIVE = []
  include Aws::Structure
end

#role_arnString

The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf.

Returns:

  • (String)


1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
# File 'gems/aws-sdk-fis/lib/aws-sdk-fis/types.rb', line 1439

class UpdateExperimentTemplateRequest < Struct.new(
  :id,
  :description,
  :stop_conditions,
  :targets,
  :actions,
  :role_arn)
  SENSITIVE = []
  include Aws::Structure
end

#stop_conditionsArray<Types::UpdateExperimentTemplateStopConditionInput>

The stop conditions for the experiment.



1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
# File 'gems/aws-sdk-fis/lib/aws-sdk-fis/types.rb', line 1439

class UpdateExperimentTemplateRequest < Struct.new(
  :id,
  :description,
  :stop_conditions,
  :targets,
  :actions,
  :role_arn)
  SENSITIVE = []
  include Aws::Structure
end

#targetsHash<String,Types::UpdateExperimentTemplateTargetInput>

The targets for the experiment.



1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
# File 'gems/aws-sdk-fis/lib/aws-sdk-fis/types.rb', line 1439

class UpdateExperimentTemplateRequest < Struct.new(
  :id,
  :description,
  :stop_conditions,
  :targets,
  :actions,
  :role_arn)
  SENSITIVE = []
  include Aws::Structure
end