![]() |
![]()
| ![]() |
![]()
NAMEPaws::GuardDuty::CreateDetector - Arguments for method CreateDetector on Paws::GuardDuty DESCRIPTIONThis class represents the parameters used for calling the method CreateDetector on the Amazon GuardDuty service. Use the attributes of this class as arguments to method CreateDetector. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateDetector. SYNOPSISmy $guardduty = Paws->service('GuardDuty'); my $CreateDetectorResponse = $guardduty->CreateDetector( Enable => 1, ClientToken => 'MyClientToken', # OPTIONAL DataSources => { S3Logs => { Enable => 1, }, # OPTIONAL }, # OPTIONAL FindingPublishingFrequency => 'FIFTEEN_MINUTES', # OPTIONAL Tags => { 'MyTagKey' => 'MyTagValue', # key: min: 1, max: 128, value: max: 256 }, # OPTIONAL ); # Results: my $DetectorId = $CreateDetectorResponse->DetectorId; # Returns a L<Paws::GuardDuty::CreateDetectorResponse> 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/CreateDetector> ATTRIBUTESClientToken => StrThe idempotency token for the create request. DataSources => Paws::GuardDuty::DataSourceConfigurationsDescribes which data sources will be enabled for the detector. REQUIRED Enable => BoolA Boolean value that specifies whether the detector is to be enabled. FindingPublishingFrequency => StrA value that specifies how frequently updated findings are exported. Valid values are: "FIFTEEN_MINUTES", "ONE_HOUR", "SIX_HOURS" Tags => Paws::GuardDuty::TagMapThe tags to be added to a new detector resource. SEE ALSOThis class forms part of Paws, documenting arguments for method CreateDetector in Paws::GuardDuty BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|