NAME

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

DESCRIPTION

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

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

SYNOPSIS

my $guardduty = Paws->service('GuardDuty');
my $CreatePublishingDestinationResponse =
  $guardduty->CreatePublishingDestination(
  DestinationProperties => {
    DestinationArn => 'MyString',    # OPTIONAL
    KmsKeyArn      => 'MyString',    # OPTIONAL
  },
  DestinationType => 'S3',
  DetectorId      => 'MyDetectorId',
  ClientToken     => 'MyClientToken',    # OPTIONAL
  );

# Results:
my $DestinationId = $CreatePublishingDestinationResponse->DestinationId;

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

ATTRIBUTES

ClientToken => Str

The idempotency token for the request.

REQUIRED DestinationProperties => Paws::GuardDuty::DestinationProperties

The properties of the publishing destination, including the ARNs for the destination and the KMS key used for encryption.

REQUIRED DestinationType => Str

The type of resource for the publishing destination. Currently only Amazon S3 buckets are supported.

Valid values are: "S3"

REQUIRED DetectorId => Str

The ID of the GuardDuty detector associated with the publishing destination.

SEE ALSO

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