Class: Aws::FIS::Types::UpdateExperimentTemplateRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::FIS::Types::UpdateExperimentTemplateRequest
- Defined in:
- gems/aws-sdk-fis/lib/aws-sdk-fis/types.rb
Overview
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
-
#actions ⇒ Hash<String,Types::UpdateExperimentTemplateActionInputItem>
The actions for the experiment.
-
#description ⇒ String
A description for the template.
-
#id ⇒ String
The ID of the experiment template.
-
#log_configuration ⇒ Types::UpdateExperimentTemplateLogConfigurationInput
The configuration for experiment logging.
-
#role_arn ⇒ String
The Amazon Resource Name (ARN) of an IAM role that grants the FIS service permission to perform service actions on your behalf.
-
#stop_conditions ⇒ Array<Types::UpdateExperimentTemplateStopConditionInput>
The stop conditions for the experiment.
-
#targets ⇒ Hash<String,Types::UpdateExperimentTemplateTargetInput>
The targets for the experiment.
Instance Attribute Details
#actions ⇒ Hash<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 |
#description ⇒ String
A description for the template.
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 |
#id ⇒ String
The ID of the experiment template.
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_configuration ⇒ Types::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_arn ⇒ String
The Amazon Resource Name (ARN) of an IAM role that grants the FIS service permission to perform service actions on your behalf.
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_conditions ⇒ Array<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 |
#targets ⇒ Hash<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 |