Class: Aws::FIS::Types::CreateExperimentTemplateRequest

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 CreateExperimentTemplateRequest data as a hash:

{
  client_token: "ClientToken", # required
  description: "ExperimentTemplateDescription", # required
  stop_conditions: [ # required
    {
      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: { # required
    "ExperimentTemplateActionName" => {
      action_id: "ActionId", # required
      description: "ExperimentTemplateActionDescription",
      parameters: {
        "ExperimentTemplateActionParameterName" => "ExperimentTemplateActionParameter",
      },
      targets: {
        "ExperimentTemplateActionTargetName" => "ExperimentTemplateTargetName",
      },
      start_after: ["ExperimentTemplateActionStartAfter"],
    },
  },
  role_arn: "RoleArn", # required
  tags: {
    "TagKey" => "TagValue",
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#actionsHash<String,Types::CreateExperimentTemplateActionInput>

The actions for the experiment.



261
262
263
264
265
266
267
268
269
270
271
# File 'gems/aws-sdk-fis/lib/aws-sdk-fis/types.rb', line 261

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

#client_tokenString

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


261
262
263
264
265
266
267
268
269
270
271
# File 'gems/aws-sdk-fis/lib/aws-sdk-fis/types.rb', line 261

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

#descriptionString

A description for the experiment template. Can contain up to 64 letters (A-Z and a-z).

Returns:

  • (String)


261
262
263
264
265
266
267
268
269
270
271
# File 'gems/aws-sdk-fis/lib/aws-sdk-fis/types.rb', line 261

class CreateExperimentTemplateRequest < Struct.new(
  :client_token,
  :description,
  :stop_conditions,
  :targets,
  :actions,
  :role_arn,
  :tags)
  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)


261
262
263
264
265
266
267
268
269
270
271
# File 'gems/aws-sdk-fis/lib/aws-sdk-fis/types.rb', line 261

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

#stop_conditionsArray<Types::CreateExperimentTemplateStopConditionInput>

The stop conditions.



261
262
263
264
265
266
267
268
269
270
271
# File 'gems/aws-sdk-fis/lib/aws-sdk-fis/types.rb', line 261

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

#tagsHash<String,String>

The tags to apply to the experiment template.

Returns:

  • (Hash<String,String>)


261
262
263
264
265
266
267
268
269
270
271
# File 'gems/aws-sdk-fis/lib/aws-sdk-fis/types.rb', line 261

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

#targetsHash<String,Types::CreateExperimentTemplateTargetInput>

The targets for the experiment.



261
262
263
264
265
266
267
268
269
270
271
# File 'gems/aws-sdk-fis/lib/aws-sdk-fis/types.rb', line 261

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