A delivery source is an AWS resource that sends logs to an AWS destination. The destination can be CloudWatch Logs, Amazon S3, or Kinesis Data Firehose.
Only some AWS services support being configured as a delivery source. These services are listed as Supported [V2 Permissions] in the table at Enabling logging from AWS services.
name
(String) The unique name of the Log source.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.resource_arn
(String) The ARN of the resource that will be sending the logs.tags
(Attributes Set) The tags that have been assigned to this delivery source. (see below for nested schema)arn
(String) The Amazon Resource Name (ARN) that uniquely identifies this delivery source.id
(String) Uniquely identifies the resource.resource_arns
(Set of String) 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.service
(String) The AWS service that is sending logs.tags
Required:
key
(String) The key name of the tag. You can specify a value that is 1 to 128 Unicodevalue
(String) The value for the tag. You can specify a value that is 0 to 256 UnicodeImport is supported using the following syntax:
$ terraform import awscc_logs_delivery_source.example <resource ID>