The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

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

DESCRIPTION

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

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

SYNOPSIS

my $guardduty = Paws->service('GuardDuty');
my $CreateThreatIntelSetResponse = $guardduty->CreateThreatIntelSet(
  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 $ThreatIntelSetId = $CreateThreatIntelSetResponse->ThreatIntelSetId;

# Returns a L<Paws::GuardDuty::CreateThreatIntelSetResponse> 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/CreateThreatIntelSet

ATTRIBUTES

REQUIRED Activate => Bool

A Boolean value that indicates whether GuardDuty is to start using the uploaded ThreatIntelSet.

ClientToken => Str

The idempotency token for the create request.

REQUIRED DetectorId => Str

The unique ID of the detector of the GuardDuty account that you want to create a threatIntelSet for.

REQUIRED Format => Str

The format of the file that contains the ThreatIntelSet.

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

REQUIRED Location => Str

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

REQUIRED Name => Str

A user-friendly ThreatIntelSet name displayed in all findings that are generated by activity that involves IP addresses included in this ThreatIntelSet.

Tags => Paws::GuardDuty::TagMap

The tags to be added to a new threat list resource.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateThreatIntelSet 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