NAME

Paws::GuardDuty::CreateIPSet - Arguments for method CreateIPSet on Paws::GuardDuty

DESCRIPTION

This class represents the parameters used for calling the method CreateIPSet on the Amazon GuardDuty service. Use the attributes of this class as arguments to method CreateIPSet.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateIPSet.

SYNOPSIS

my $guardduty = Paws->service('GuardDuty');
my $CreateIPSetResponse = $guardduty->CreateIPSet(
  Activate    => 1,
  DetectorId  => 'MyDetectorId',
  Format      => 'TXT',
  Location    => 'MyLocation',
  Name        => 'MyName',
  ClientToken => 'MyClientToken',    # OPTIONAL
  Tags        => {
    'MyTagKey' => 'MyTagValue',    # key: min: 1, max: 128, value: max: 256
  },    # OPTIONAL
);

# Results:
my $IpSetId = $CreateIPSetResponse->IpSetId;

# Returns a L<Paws::GuardDuty::CreateIPSetResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/guardduty/CreateIPSet

ATTRIBUTES

REQUIRED Activate => Bool

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

ClientToken => Str

The idempotency token for the create request.

REQUIRED DetectorId => Str

The unique ID of the detector of the GuardDuty account for which you want to create an IPSet.

REQUIRED Format => Str

The format of the file that contains the IPSet.

Valid values are: "TXT", "STIX", "OTX_CSV", "ALIEN_VAULT", "PROOF_POINT", "FIRE_EYE"

REQUIRED Location => Str

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

REQUIRED Name => Str

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.

Tags => Paws::GuardDuty::TagMap

The tags to be added to a new IP set resource.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateIPSet in Paws::GuardDuty

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues