Class: Aws::FIS::Types::UpdateExperimentTemplateTargetInput

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

{
  resource_type: "ResourceType", # required
  resource_arns: ["ResourceArn"],
  resource_tags: {
    "TagKey" => "TagValue",
  },
  filters: [
    {
      path: "ExperimentTemplateTargetFilterPath", # required
      values: ["ExperimentTemplateTargetFilterValue"], # required
    },
  ],
  selection_mode: "ExperimentTemplateTargetSelectionMode", # required
}

Specifies a target for an experiment. You must specify at least one Amazon Resource Name (ARN) or at least one resource tag. You cannot specify both.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#filtersArray<Types::ExperimentTemplateTargetInputFilter>

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



1538
1539
1540
1541
1542
1543
1544
1545
1546
# File 'gems/aws-sdk-fis/lib/aws-sdk-fis/types.rb', line 1538

class UpdateExperimentTemplateTargetInput < Struct.new(
  :resource_type,
  :resource_arns,
  :resource_tags,
  :filters,
  :selection_mode)
  SENSITIVE = []
  include Aws::Structure
end

#resource_arnsArray<String>

The Amazon Resource Names (ARNs) of the targets.

Returns:

  • (Array<String>)


1538
1539
1540
1541
1542
1543
1544
1545
1546
# File 'gems/aws-sdk-fis/lib/aws-sdk-fis/types.rb', line 1538

class UpdateExperimentTemplateTargetInput < Struct.new(
  :resource_type,
  :resource_arns,
  :resource_tags,
  :filters,
  :selection_mode)
  SENSITIVE = []
  include Aws::Structure
end

#resource_tagsHash<String,String>

The tags for the target resources.

Returns:

  • (Hash<String,String>)


1538
1539
1540
1541
1542
1543
1544
1545
1546
# File 'gems/aws-sdk-fis/lib/aws-sdk-fis/types.rb', line 1538

class UpdateExperimentTemplateTargetInput < Struct.new(
  :resource_type,
  :resource_arns,
  :resource_tags,
  :filters,
  :selection_mode)
  SENSITIVE = []
  include Aws::Structure
end

#resource_typeString

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

Returns:

  • (String)


1538
1539
1540
1541
1542
1543
1544
1545
1546
# File 'gems/aws-sdk-fis/lib/aws-sdk-fis/types.rb', line 1538

class UpdateExperimentTemplateTargetInput < Struct.new(
  :resource_type,
  :resource_arns,
  :resource_tags,
  :filters,
  :selection_mode)
  SENSITIVE = []
  include Aws::Structure
end

#selection_modeString

Scopes the identified resources to a specific count or percentage.

Returns:

  • (String)


1538
1539
1540
1541
1542
1543
1544
1545
1546
# File 'gems/aws-sdk-fis/lib/aws-sdk-fis/types.rb', line 1538

class UpdateExperimentTemplateTargetInput < Struct.new(
  :resource_type,
  :resource_arns,
  :resource_tags,
  :filters,
  :selection_mode)
  SENSITIVE = []
  include Aws::Structure
end