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

Class: Aws::GuardDuty::Types::CreatePublishingDestinationRequest

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 CreatePublishingDestinationRequest data as a hash:

{
  detector_id: "DetectorId", # required
  destination_type: "S3", # required, accepts S3
  destination_properties: { # required
    destination_arn: "String",
    kms_key_arn: "String",
  },
  client_token: "ClientToken",
}

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

The idempotency token for the request.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


653
654
655
656
657
658
659
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 653

class CreatePublishingDestinationRequest < Struct.new(
  :detector_id,
  :destination_type,
  :destination_properties,
  :client_token)
  include Aws::Structure
end

#destination_propertiesTypes::DestinationProperties

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



653
654
655
656
657
658
659
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 653

class CreatePublishingDestinationRequest < Struct.new(
  :detector_id,
  :destination_type,
  :destination_properties,
  :client_token)
  include Aws::Structure
end

#destination_typeString

The type of resource for the publishing destination. Currently only S3 is supported.

Returns:

  • (String)


653
654
655
656
657
658
659
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 653

class CreatePublishingDestinationRequest < Struct.new(
  :detector_id,
  :destination_type,
  :destination_properties,
  :client_token)
  include Aws::Structure
end

#detector_idString

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

Returns:

  • (String)


653
654
655
656
657
658
659
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 653

class CreatePublishingDestinationRequest < Struct.new(
  :detector_id,
  :destination_type,
  :destination_properties,
  :client_token)
  include Aws::Structure
end