Skip to main content

delivery_source

Gets an individual delivery_source resource

Overview

Namedelivery_source
TypeResource
Descriptiondelivery_source
Idawscc.logs.delivery_source

Fields

NameDatatypeDescription
namestringThe unique name of the Log source.
arnstringThe Amazon Resource Name (ARN) that uniquely identifies this delivery source.
resource_arnsarrayThis array contains the ARN of the AWS resource that sends logs and is represented by this delivery source. Currently, only one ARN can be in the array.
resource_arnstringThe ARN of the resource that will be sending the logs.
servicestringThe AWS service that is sending logs.
log_typestringThe type of logs being delivered. Only mandatory when the resourceArn could match more than one. In such a case, the error message will contain all the possible options.
tagsarrayThe tags that have been assigned to this delivery source.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
name,
arn,
resource_arns,
resource_arn,
service,
log_type,
tags
FROM awscc.logs.delivery_source
WHERE data__Identifier = '<Name>';

Permissions

To operate on the delivery_source resource, the following permissions are required:

Read

logs:GetDeliverySource,
logs:ListTagsForResource

Update

logs:PutDeliverySource,
logs:GetDeliverySource,
logs:ListTagsForResource,
logs:TagResource,
logs:UntagResource

Delete

logs:DeleteDeliverySource