delivery_source
Gets an individual delivery_source
resource
Overview
Name | delivery_source |
Type | Resource |
Description | delivery_source |
Id | awscc.logs.delivery_source |
Fields
Name | Datatype | Description |
---|---|---|
name | string | The unique name of the Log source. |
arn | string | The Amazon Resource Name (ARN) that uniquely identifies this delivery source. |
resource_arns | array | This 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_arn | string | The ARN of the resource that will be sending the logs. |
service | string | The AWS service that is sending logs. |
log_type | string | The 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. |
tags | array | The tags that have been assigned to this delivery source. |
region | string | AWS 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