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

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
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, LambdaFunctionAggregation, LambdaLayerAggregation, 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.



197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
# File 'lib/aws-sdk-inspector2/types.rb', line 197

class AggregationRequest < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_layer_aggregation,
  :lambda_function_aggregation,
  :lambda_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 LambdaFunctionAggregation < AggregationRequest; end
  class LambdaLayerAggregation < 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).



197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
# File 'lib/aws-sdk-inspector2/types.rb', line 197

class AggregationRequest < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_layer_aggregation,
  :lambda_function_aggregation,
  :lambda_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 LambdaFunctionAggregation < AggregationRequest; end
  class LambdaLayerAggregation < 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.



197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
# File 'lib/aws-sdk-inspector2/types.rb', line 197

class AggregationRequest < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_layer_aggregation,
  :lambda_function_aggregation,
  :lambda_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 LambdaFunctionAggregation < AggregationRequest; end
  class LambdaLayerAggregation < 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.



197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
# File 'lib/aws-sdk-inspector2/types.rb', line 197

class AggregationRequest < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_layer_aggregation,
  :lambda_function_aggregation,
  :lambda_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 LambdaFunctionAggregation < AggregationRequest; end
  class LambdaLayerAggregation < 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.



197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
# File 'lib/aws-sdk-inspector2/types.rb', line 197

class AggregationRequest < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_layer_aggregation,
  :lambda_function_aggregation,
  :lambda_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 LambdaFunctionAggregation < AggregationRequest; end
  class LambdaLayerAggregation < 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.



197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
# File 'lib/aws-sdk-inspector2/types.rb', line 197

class AggregationRequest < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_layer_aggregation,
  :lambda_function_aggregation,
  :lambda_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 LambdaFunctionAggregation < AggregationRequest; end
  class LambdaLayerAggregation < AggregationRequest; end
  class PackageAggregation < AggregationRequest; end
  class RepositoryAggregation < AggregationRequest; end
  class TitleAggregation < AggregationRequest; end
  class Unknown < AggregationRequest; end
end

#lambda_function_aggregationTypes::LambdaFunctionAggregation

Returns an object with findings aggregated by Amazon Web Services Lambda function.



197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
# File 'lib/aws-sdk-inspector2/types.rb', line 197

class AggregationRequest < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_layer_aggregation,
  :lambda_function_aggregation,
  :lambda_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 LambdaFunctionAggregation < AggregationRequest; end
  class LambdaLayerAggregation < AggregationRequest; end
  class PackageAggregation < AggregationRequest; end
  class RepositoryAggregation < AggregationRequest; end
  class TitleAggregation < AggregationRequest; end
  class Unknown < AggregationRequest; end
end

#lambda_layer_aggregationTypes::LambdaLayerAggregation

Returns an object with findings aggregated by Amazon Web Services Lambda layer.



197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
# File 'lib/aws-sdk-inspector2/types.rb', line 197

class AggregationRequest < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_layer_aggregation,
  :lambda_function_aggregation,
  :lambda_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 LambdaFunctionAggregation < AggregationRequest; end
  class LambdaLayerAggregation < 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.



197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
# File 'lib/aws-sdk-inspector2/types.rb', line 197

class AggregationRequest < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_layer_aggregation,
  :lambda_function_aggregation,
  :lambda_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 LambdaFunctionAggregation < AggregationRequest; end
  class LambdaLayerAggregation < 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.



197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
# File 'lib/aws-sdk-inspector2/types.rb', line 197

class AggregationRequest < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_layer_aggregation,
  :lambda_function_aggregation,
  :lambda_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 LambdaFunctionAggregation < AggregationRequest; end
  class LambdaLayerAggregation < 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.



197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
# File 'lib/aws-sdk-inspector2/types.rb', line 197

class AggregationRequest < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_layer_aggregation,
  :lambda_function_aggregation,
  :lambda_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 LambdaFunctionAggregation < AggregationRequest; end
  class LambdaLayerAggregation < 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



197
198
199
# File 'lib/aws-sdk-inspector2/types.rb', line 197

def unknown
  @unknown
end