cloudwatchlogs_put_delivery_source: Creates or updates a logical delivery source

View source: R/cloudwatchlogs_operations.R

cloudwatchlogs_put_delivery_sourceR Documentation

Creates or updates a logical delivery source

Description

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.

Usage

cloudwatchlogs_put_delivery_source(name, resourceArn, logType, tags = NULL)

Arguments

name

[required] A name for this delivery source. This name must be unique for all delivery sources in your account.

resourceArn

[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⁠

logType

[required] Defines the type of log that the source is sending.

  • For Amazon Bedrock, the valid value is APPLICATION_LOGS.

  • For Amazon CodeWhisperer, the valid value is EVENT_LOGS.

  • For IAM Identity Center, the valid value is ERROR_LOGS.

  • For Amazon WorkMail, the valid values are ACCESS_CONTROL_LOGS, AUTHENTICATION_LOGS, WORKMAIL_AVAILABILITY_PROVIDER_LOGS, and WORKMAIL_MAILBOX_ACCESS_LOGS.

tags

An optional list of key-value pairs to associate with the resource.

For more information about tagging, see Tagging Amazon Web Services resources


paws.management documentation built on Sept. 12, 2024, 6:19 a.m.