You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::GuardDuty::Types::CreateIPSetRequest

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

Overview

Note:

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

{
  activate: false,
  detector_id: "__string", # required
  format: "TXT", # accepts TXT, STIX, OTX_CSV, ALIEN_VAULT, PROOF_POINT, FIRE_EYE
  location: "Location",
  name: "Name",
}

Create IP Set Request

Instance Attribute Summary collapse

Instance Attribute Details

#activateBoolean

A boolean value that indicates whether GuardDuty is to start using the uploaded IPSet.

Returns:

  • (Boolean)


360
361
362
363
364
365
366
367
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 360

class CreateIPSetRequest < Struct.new(
  :activate,
  :detector_id,
  :format,
  :location,
  :name)
  include Aws::Structure
end

#detector_idString

Returns:

  • (String)


360
361
362
363
364
365
366
367
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 360

class CreateIPSetRequest < Struct.new(
  :activate,
  :detector_id,
  :format,
  :location,
  :name)
  include Aws::Structure
end

#formatString

The format of the file that contains the IPSet.

Returns:

  • (String)


360
361
362
363
364
365
366
367
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 360

class CreateIPSetRequest < Struct.new(
  :activate,
  :detector_id,
  :format,
  :location,
  :name)
  include Aws::Structure
end

#locationString

The URI of the file that contains the IPSet. For example (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key)

Returns:

  • (String)


360
361
362
363
364
365
366
367
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 360

class CreateIPSetRequest < Struct.new(
  :activate,
  :detector_id,
  :format,
  :location,
  :name)
  include Aws::Structure
end

#nameString

The user friendly name to identify the IPSet. This name is displayed in all findings that are triggered by activity that involves IP addresses included in this IPSet.

Returns:

  • (String)


360
361
362
363
364
365
366
367
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 360

class CreateIPSetRequest < Struct.new(
  :activate,
  :detector_id,
  :format,
  :location,
  :name)
  include Aws::Structure
end