Class: Aws::Inspector2::Types::AggregationRequest

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

Overview

Note:

AggregationRequest is a union - when making an API calls you must set exactly one of the members.

Contains details about an aggregation request.

Defined Under Namespace

Classes: AccountAggregation, AmiAggregation, AwsEcrContainerAggregation, Ec2InstanceAggregation, FindingTypeAggregation, ImageLayerAggregation, PackageAggregation, RepositoryAggregation, TitleAggregation, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_aggregationTypes::AccountAggregation

An object that contains details about an aggregation request based on Amazon Web Services account IDs.



187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 187

class AggregationRequest < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_layer_aggregation,
  :package_aggregation,
  :repository_aggregation,
  :title_aggregation,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AccountAggregation < AggregationRequest; end
  class AmiAggregation < AggregationRequest; end
  class AwsEcrContainerAggregation < AggregationRequest; end
  class Ec2InstanceAggregation < AggregationRequest; end
  class FindingTypeAggregation < AggregationRequest; end
  class ImageLayerAggregation < AggregationRequest; end
  class PackageAggregation < AggregationRequest; end
  class RepositoryAggregation < AggregationRequest; end
  class TitleAggregation < AggregationRequest; end
  class Unknown < AggregationRequest; end
end

#ami_aggregationTypes::AmiAggregation

An object that contains details about an aggregation request based on Amazon Machine Images (AMIs).



187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 187

class AggregationRequest < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_layer_aggregation,
  :package_aggregation,
  :repository_aggregation,
  :title_aggregation,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AccountAggregation < AggregationRequest; end
  class AmiAggregation < AggregationRequest; end
  class AwsEcrContainerAggregation < AggregationRequest; end
  class Ec2InstanceAggregation < AggregationRequest; end
  class FindingTypeAggregation < AggregationRequest; end
  class ImageLayerAggregation < AggregationRequest; end
  class PackageAggregation < AggregationRequest; end
  class RepositoryAggregation < AggregationRequest; end
  class TitleAggregation < AggregationRequest; end
  class Unknown < AggregationRequest; end
end

#aws_ecr_container_aggregationTypes::AwsEcrContainerAggregation

An object that contains details about an aggregation request based on Amazon ECR container images.



187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 187

class AggregationRequest < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_layer_aggregation,
  :package_aggregation,
  :repository_aggregation,
  :title_aggregation,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AccountAggregation < AggregationRequest; end
  class AmiAggregation < AggregationRequest; end
  class AwsEcrContainerAggregation < AggregationRequest; end
  class Ec2InstanceAggregation < AggregationRequest; end
  class FindingTypeAggregation < AggregationRequest; end
  class ImageLayerAggregation < AggregationRequest; end
  class PackageAggregation < AggregationRequest; end
  class RepositoryAggregation < AggregationRequest; end
  class TitleAggregation < AggregationRequest; end
  class Unknown < AggregationRequest; end
end

#ec2_instance_aggregationTypes::Ec2InstanceAggregation

An object that contains details about an aggregation request based on Amazon EC2 instances.



187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 187

class AggregationRequest < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_layer_aggregation,
  :package_aggregation,
  :repository_aggregation,
  :title_aggregation,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AccountAggregation < AggregationRequest; end
  class AmiAggregation < AggregationRequest; end
  class AwsEcrContainerAggregation < AggregationRequest; end
  class Ec2InstanceAggregation < AggregationRequest; end
  class FindingTypeAggregation < AggregationRequest; end
  class ImageLayerAggregation < AggregationRequest; end
  class PackageAggregation < AggregationRequest; end
  class RepositoryAggregation < AggregationRequest; end
  class TitleAggregation < AggregationRequest; end
  class Unknown < AggregationRequest; end
end

#finding_type_aggregationTypes::FindingTypeAggregation

An object that contains details about an aggregation request based on finding types.



187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 187

class AggregationRequest < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_layer_aggregation,
  :package_aggregation,
  :repository_aggregation,
  :title_aggregation,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AccountAggregation < AggregationRequest; end
  class AmiAggregation < AggregationRequest; end
  class AwsEcrContainerAggregation < AggregationRequest; end
  class Ec2InstanceAggregation < AggregationRequest; end
  class FindingTypeAggregation < AggregationRequest; end
  class ImageLayerAggregation < AggregationRequest; end
  class PackageAggregation < AggregationRequest; end
  class RepositoryAggregation < AggregationRequest; end
  class TitleAggregation < AggregationRequest; end
  class Unknown < AggregationRequest; end
end

#image_layer_aggregationTypes::ImageLayerAggregation

An object that contains details about an aggregation request based on container image layers.



187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 187

class AggregationRequest < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_layer_aggregation,
  :package_aggregation,
  :repository_aggregation,
  :title_aggregation,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AccountAggregation < AggregationRequest; end
  class AmiAggregation < AggregationRequest; end
  class AwsEcrContainerAggregation < AggregationRequest; end
  class Ec2InstanceAggregation < AggregationRequest; end
  class FindingTypeAggregation < AggregationRequest; end
  class ImageLayerAggregation < AggregationRequest; end
  class PackageAggregation < AggregationRequest; end
  class RepositoryAggregation < AggregationRequest; end
  class TitleAggregation < AggregationRequest; end
  class Unknown < AggregationRequest; end
end

#package_aggregationTypes::PackageAggregation

An object that contains details about an aggregation request based on operating system package type.



187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 187

class AggregationRequest < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_layer_aggregation,
  :package_aggregation,
  :repository_aggregation,
  :title_aggregation,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AccountAggregation < AggregationRequest; end
  class AmiAggregation < AggregationRequest; end
  class AwsEcrContainerAggregation < AggregationRequest; end
  class Ec2InstanceAggregation < AggregationRequest; end
  class FindingTypeAggregation < AggregationRequest; end
  class ImageLayerAggregation < AggregationRequest; end
  class PackageAggregation < AggregationRequest; end
  class RepositoryAggregation < AggregationRequest; end
  class TitleAggregation < AggregationRequest; end
  class Unknown < AggregationRequest; end
end

#repository_aggregationTypes::RepositoryAggregation

An object that contains details about an aggregation request based on Amazon ECR repositories.



187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 187

class AggregationRequest < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_layer_aggregation,
  :package_aggregation,
  :repository_aggregation,
  :title_aggregation,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AccountAggregation < AggregationRequest; end
  class AmiAggregation < AggregationRequest; end
  class AwsEcrContainerAggregation < AggregationRequest; end
  class Ec2InstanceAggregation < AggregationRequest; end
  class FindingTypeAggregation < AggregationRequest; end
  class ImageLayerAggregation < AggregationRequest; end
  class PackageAggregation < AggregationRequest; end
  class RepositoryAggregation < AggregationRequest; end
  class TitleAggregation < AggregationRequest; end
  class Unknown < AggregationRequest; end
end

#title_aggregationTypes::TitleAggregation

An object that contains details about an aggregation request based on finding title.



187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 187

class AggregationRequest < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_layer_aggregation,
  :package_aggregation,
  :repository_aggregation,
  :title_aggregation,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AccountAggregation < AggregationRequest; end
  class AmiAggregation < AggregationRequest; end
  class AwsEcrContainerAggregation < AggregationRequest; end
  class Ec2InstanceAggregation < AggregationRequest; end
  class FindingTypeAggregation < AggregationRequest; end
  class ImageLayerAggregation < AggregationRequest; end
  class PackageAggregation < AggregationRequest; end
  class RepositoryAggregation < AggregationRequest; end
  class TitleAggregation < AggregationRequest; end
  class Unknown < AggregationRequest; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



187
188
189
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 187

def unknown
  @unknown
end