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: "TargetResourceTypeId", # required
      resource_arns: ["ResourceArn"],
      resource_tags: {
        "TagKey" => "TagValue",
      },
      filters: [
        {
          path: "ExperimentTemplateTargetFilterPath", # required
          values: ["ExperimentTemplateTargetFilterValue"], # required
        },
      ],
      selection_mode: "ExperimentTemplateTargetSelectionMode", # required
      parameters: {
        "ExperimentTemplateTargetParameterName" => "ExperimentTemplateTargetParameterValue",
      },
    },
  },
  actions: {
    "ExperimentTemplateActionName" => {
      action_id: "ActionId",
      description: "ExperimentTemplateActionDescription",
      parameters: {
        "ExperimentTemplateActionParameterName" => "ExperimentTemplateActionParameter",
      },
      targets: {
        "ExperimentTemplateActionTargetName" => "ExperimentTemplateTargetName",
      },
      start_after: ["ExperimentTemplateActionStartAfter"],
    },
  },
  role_arn: "RoleArn",
  log_configuration: {
    cloud_watch_logs_configuration: {
      log_group_arn: "CloudWatchLogGroupArn", # required
    },
    s3_configuration: {
      bucket_name: "S3BucketName", # required
      prefix: "S3ObjectKey",
    },
    log_schema_version: 1,
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#actionsHash<String,Types::UpdateExperimentTemplateActionInputItem>

The actions for the experiment.



1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
# File 'gems/aws-sdk-fis/lib/aws-sdk-fis/types.rb', line 1916

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

#descriptionString

A description for the template.

Returns:

  • (String)


1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
# File 'gems/aws-sdk-fis/lib/aws-sdk-fis/types.rb', line 1916

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

#idString

The ID of the experiment template.

Returns:

  • (String)


1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
# File 'gems/aws-sdk-fis/lib/aws-sdk-fis/types.rb', line 1916

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

#log_configurationTypes::UpdateExperimentTemplateLogConfigurationInput

The configuration for experiment logging.



1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
# File 'gems/aws-sdk-fis/lib/aws-sdk-fis/types.rb', line 1916

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

#role_arnString

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

Returns:

  • (String)


1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
# File 'gems/aws-sdk-fis/lib/aws-sdk-fis/types.rb', line 1916

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

#stop_conditionsArray<Types::UpdateExperimentTemplateStopConditionInput>

The stop conditions for the experiment.



1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
# File 'gems/aws-sdk-fis/lib/aws-sdk-fis/types.rb', line 1916

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

#targetsHash<String,Types::UpdateExperimentTemplateTargetInput>

The targets for the experiment.



1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
# File 'gems/aws-sdk-fis/lib/aws-sdk-fis/types.rb', line 1916

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