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",
}

Constant Summary collapse

SENSITIVE =
[]

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)


963
964
965
966
967
968
969
970
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 963

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

#destination_propertiesTypes::DestinationProperties

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



963
964
965
966
967
968
969
970
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 963

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

#destination_typeString

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

Returns:

  • (String)


963
964
965
966
967
968
969
970
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 963

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

#detector_idString

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

Returns:

  • (String)


963
964
965
966
967
968
969
970
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 963

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