Creates or updates a logical delivery source. A delivery source represents an Amazon Web Services resource that sends logs to an logs delivery destination. The destination can be CloudWatch Logs, Amazon S3, or Firehose.
See https://www.paws-r-sdk.com/docs/cloudwatchlogs_put_delivery_source/ for full documentation.
cloudwatchlogs_put_delivery_source(name, resourceArn, logType, tags = NULL)
[required] A name for this delivery source. This name must be unique for all delivery sources in your account.
[required] The ARN of the Amazon Web Services resource that is generating and
sending logs. For example,
arn:aws:workmail:us-east-1:123456789012:organization/m-1234EXAMPLEabcd1234abcd1234abcd1234
[required] Defines the type of log that the source is sending.
For Amazon Bedrock, the valid value is APPLICATION_LOGS
.
For CloudFront, the valid value is ACCESS_LOGS
.
For Amazon CodeWhisperer, the valid value is EVENT_LOGS
.
For Elemental MediaPackage, the valid values are
EGRESS_ACCESS_LOGS
and INGRESS_ACCESS_LOGS
.
For Elemental MediaTailor, the valid values are
AD_DECISION_SERVER_LOGS
, MANIFEST_SERVICE_LOGS
, and
TRANSCODE_LOGS
.
For IAM Identity Center, the valid value is ERROR_LOGS
.
For Amazon Q, the valid value is EVENT_LOGS
.
For Amazon SES mail manager, the valid value is APPLICATION_LOG
.
For Amazon WorkMail, the valid values are ACCESS_CONTROL_LOGS
,
AUTHENTICATION_LOGS
, WORKMAIL_AVAILABILITY_PROVIDER_LOGS
,
WORKMAIL_MAILBOX_ACCESS_LOGS
, and
WORKMAIL_PERSONAL_ACCESS_TOKEN_LOGS
.
An optional list of key-value pairs to associate with the resource.
For more information about tagging, see Tagging Amazon Web Services resources