You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Linode account personal access token. It is necessary to run the module. It can be exposed by the environment variable LINODE_API_TOKEN instead. See details in Usage.
Settings for the destination. For type 'akamai_object_storage': provide access_key_id, access_key_secret, bucket_name, host and optionally path. For type 'custom_https': provide authentication, client_certificate_details, content_type, data_compression, endpoint_url and optionally custom_headers. (Updatable)
label
str
Optional
The name of the destination object. Used for display purposes. (Updatable)
type
str
Optional
The type of destination for log data sync, either akamai_object_storage if Object Storage is the destination, or custom_https for a unique URL (Choices: akamai_object_storage, custom_https; Updatable)
id
int
Optional
The unique identifier assigned to the logs destination. Run the List logs destinations operation and store the id for the applicable logs destination. Required for updating.
wait
bool
Optional
Wait for the logs destination ready. (Default: False)
wait_timeout
int
Optional
The amount of time, in seconds, to wait for the logs destination. (Default: 600)
details
Field
Type
Required
Description
access_key_id
str
Optional
The unique identifier assigned to the Object Storage key required for authentication to the bucket. Run the List Object Storage keys operation and store the id for the applicable key. (Required for type: akamai_object_storage) (Updatable)
access_key_secret
str
Optional
The Object Storage key's secret key. This is used as a password to validate the key. (Required for type: akamai_object_storage) (Updatable)
bucket_name
str
Optional
The name of the Object Storage bucket. Run the List Object Storage buckets operation and store the label for the target bucket. (Required for type: akamai_object_storage) (Updatable)
host
str
Optional
The hostname where the Object Storage bucket can be accessed. Run the List Object Storage buckets operation and store the hostname for the target bucket. (Required for type: akamai_object_storage) (Updatable)
path
str
Optional
Include this object to set a custom path for audit log storage in your Object Storage bucket. (Optional for type: akamai_object_storage) (Updatable)
Contains transport layer security (TLS) client certificate information to additionally secure the connection for the request. (Used for type: custom_https) (Updatable)
content_type
str
Optional
The content type for requests to the endpoint_url. This can be application/json for request bodies formatted as JSON, or application/json; charset=utf-8 for JSON-format content encoded using UTF-8.(Used for type: custom_https) (Choices: application/json, application/json; charset=utf-8; Updatable)
Pairs of parameters used to optionally include custom headers in the request.(Used for type: custom_https) (Updatable)
data_compression
str
Optional
Specifies whether data compression is applied to files included in a request. This can be gzip to apply this compression format or None.(Used for type: custom_https) (Choices: gzip, None; Updatable)
endpoint_url
str
Optional
The URL where the request will be sent. (Used for type: custom_https) (Updatable)
Includes additional parameters necessary to define basic authentication.If type is set to none, leave this object empty or out of a request. (Updatable)
type
str
Optional
The type of authentication in use. This can be None for no authentication, or basic for authentication using a username and password, set using the details parameters. (Choices: none, basic; Updatable)
authentication_details
Field
Type
Required
Description
basic_authentication_password
str
Optional
The password tied to the basic_authentication_user, for basic authentication. (Updatable)
basic_authentication_user
str
Optional
The user name for basic authentication. (Updatable)
client_certificate_details
Field
Type
Required
Description
client_ca_certificate
str
Optional
The certificate authority (CA) certificate used to verify a requesting server's identity. (Updatable)
client_certificate
str
Optional
The PEM-formatted digital certificate you want to authenticate requests to your destination with. (Updatable)
client_private_key
str
Optional
The private key in the non-encrypted PKCS8 format that authenticates with the back-end server. If you want to use mutual authentication, you need to provide both the client_certificate and the client_private_key. (Updatable)
tls_hostname
str
Optional
The hostname that verifies the server's certificate and matches the Subject Alternative Names (SANs) in the certificate. If not provided, the API fetches the hostname from the endpoint_url. (Updatable)
custom_headers
Field
Type
Required
Description
name
str
Required
The name of the custom header to include in the request. (Updatable)
value
str
Required
The body content for the custom header to include in the request. (Updatable)
Return Values
logs_destination - The logs destination in JSON serialized form.