Class: Aws::Inspector2::Types::AutoEnable

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

Overview

Note:

When making an API call, you may pass AutoEnable data as a hash:

{
  ec2: false, # required
  ecr: false, # required
}

Represents which scan types are automatically enabled for new members of your Amazon Inspector organization.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#ec2Boolean

Represents whether Amazon EC2 scans are automatically enabled for new members of your Amazon Inspector organization.

Returns:

  • (Boolean)


417
418
419
420
421
422
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 417

class AutoEnable < Struct.new(
  :ec2,
  :ecr)
  SENSITIVE = []
  include Aws::Structure
end

#ecrBoolean

Represents whether Amazon ECR scans are automatically enabled for new members of your Amazon Inspector organization.

Returns:

  • (Boolean)


417
418
419
420
421
422
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 417

class AutoEnable < Struct.new(
  :ec2,
  :ecr)
  SENSITIVE = []
  include Aws::Structure
end