create_publishing_destination¶
Operation¶
create_publishing_destination
async
¶
create_publishing_destination(input: CreatePublishingDestinationInput, plugins: list[Plugin] | None = None) -> CreatePublishingDestinationOutput
Creates a publishing destination where you can export your GuardDuty findings. Before you start exporting the findings, the destination resource must exist.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
CreatePublishingDestinationInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
CreatePublishingDestinationOutput
|
An instance of |
Input¶
CreatePublishingDestinationInput
dataclass
¶
Dataclass for CreatePublishingDestinationInput structure.
Attributes¶
client_token
class-attribute
instance-attribute
¶
client_token: str | None = None
The idempotency token for the request.
destination_properties
class-attribute
instance-attribute
¶
destination_properties: DestinationProperties | None = None
The properties of the publishing destination, including the ARNs for the destination and the KMS key used for encryption.
destination_type
class-attribute
instance-attribute
¶
destination_type: DestinationType | None = None
The type of resource for the publishing destination. Currently only Amazon S3 buckets are supported.
detector_id
class-attribute
instance-attribute
¶
detector_id: str | None = None
The ID of the GuardDuty detector associated with the publishing destination.
To find the detectorId in the current Region, see the Settings page in
the GuardDuty console, or run the
ListDetectors
API.
tags
class-attribute
instance-attribute
¶
tags: dict[str, str] | None = None
The tags to be added to a new publishing destination resource.