We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 3, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 3, 2026 by Pulumi
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.
Create DeliverySource Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DeliverySource(name: string, args?: DeliverySourceArgs, opts?: CustomResourceOptions);@overload
def DeliverySource(resource_name: str,
args: Optional[DeliverySourceArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def DeliverySource(resource_name: str,
opts: Optional[ResourceOptions] = None,
delivery_source_configuration: Optional[Mapping[str, str]] = None,
log_type: Optional[str] = None,
name: Optional[str] = None,
resource_arn: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewDeliverySource(ctx *Context, name string, args *DeliverySourceArgs, opts ...ResourceOption) (*DeliverySource, error)public DeliverySource(string name, DeliverySourceArgs? args = null, CustomResourceOptions? opts = null)
public DeliverySource(String name, DeliverySourceArgs args)
public DeliverySource(String name, DeliverySourceArgs args, CustomResourceOptions options)
type: aws-native:logs:DeliverySource
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_logs_delivery_source" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args DeliverySourceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DeliverySourceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DeliverySourceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DeliverySourceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DeliverySourceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
DeliverySource Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DeliverySource resource accepts the following input properties:
- Delivery
Source Dictionary<string, string>Configuration - A map of key-value pairs to configure the delivery source. Both keys and values must be between 1 and 255 characters in length.
- 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.
- Name string
- The unique name of the Log source.
- Resource
Arn string - The ARN of the resource that will be sending the logs.
-
List<Pulumi.
Aws Native. Inputs. Tag> - The tags that have been assigned to this delivery source.
- Delivery
Source map[string]stringConfiguration - A map of key-value pairs to configure the delivery source. Both keys and values must be between 1 and 255 characters in length.
- 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.
- Name string
- The unique name of the Log source.
- Resource
Arn string - The ARN of the resource that will be sending the logs.
-
Tag
Args - The tags that have been assigned to this delivery source.
- delivery_
source_ map(string)configuration - A map of key-value pairs to configure the delivery source. Both keys and values must be between 1 and 255 characters in length.
- 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.
- name string
- The unique name of the Log source.
- resource_
arn string - The ARN of the resource that will be sending the logs.
- list(object)
- The tags that have been assigned to this delivery source.
- delivery
Source Map<String,String>Configuration - A map of key-value pairs to configure the delivery source. Both keys and values must be between 1 and 255 characters in length.
- 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.
- name String
- The unique name of the Log source.
- resource
Arn String - The ARN of the resource that will be sending the logs.
- List<Tag>
- The tags that have been assigned to this delivery source.
- delivery
Source {[key: string]: string}Configuration - A map of key-value pairs to configure the delivery source. Both keys and values must be between 1 and 255 characters in length.
- 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.
- name string
- The unique name of the Log source.
- resource
Arn string - The ARN of the resource that will be sending the logs.
- Tag[]
- The tags that have been assigned to this delivery source.
- delivery_
source_ Mapping[str, str]configuration - A map of key-value pairs to configure the delivery source. Both keys and values must be between 1 and 255 characters in length.
- log_
type str - 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.
- name str
- The unique name of the Log source.
- resource_
arn str - The ARN of the resource that will be sending the logs.
-
Sequence[Tag
Args] - The tags that have been assigned to this delivery source.
- delivery
Source Map<String>Configuration - A map of key-value pairs to configure the delivery source. Both keys and values must be between 1 and 255 characters in length.
- 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.
- name String
- The unique name of the Log source.
- resource
Arn String - The ARN of the resource that will be sending the logs.
- List<Property Map>
- The tags that have been assigned to this delivery source.
Outputs
All input properties are implicitly available as output properties. Additionally, the DeliverySource resource produces the following output properties:
- Arn string
- The Amazon Resource Name (ARN) that uniquely identifies this delivery source.
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Arns List<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.
- Status
Pulumi.
Aws Native. Logs. Delivery Source Status - The status of this delivery source. The value can be ACTIVE or INACTIVE.
- Status
Reason Pulumi.Aws Native. Logs. Delivery Source Status Reason - The reason for the status of this delivery source, such as RESOURCE_DELETED.
- Arn string
- The Amazon Resource Name (ARN) that uniquely identifies this delivery source.
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Arns []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.
- Status
Delivery
Source Status - The status of this delivery source. The value can be ACTIVE or INACTIVE.
- Status
Reason DeliverySource Status Reason - The reason for the status of this delivery source, such as RESOURCE_DELETED.
- arn string
- The Amazon Resource Name (ARN) that uniquely identifies this delivery source.
- id string
- The provider-assigned unique ID for this managed resource.
- resource_
arns list(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.
- status "ACTIVE" | "INACTIVE"
- The status of this delivery source. The value can be ACTIVE or INACTIVE.
- status_
reason "RESOURCE_DELETED" - The reason for the status of this delivery source, such as RESOURCE_DELETED.
- arn String
- The Amazon Resource Name (ARN) that uniquely identifies this delivery source.
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Arns List<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.
- status
Delivery
Source Status - The status of this delivery source. The value can be ACTIVE or INACTIVE.
- status
Reason DeliverySource Status Reason - The reason for the status of this delivery source, such as RESOURCE_DELETED.
- arn string
- The Amazon Resource Name (ARN) that uniquely identifies this delivery source.
- id string
- The provider-assigned unique ID for this managed resource.
- resource
Arns 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.
- status
Delivery
Source Status - The status of this delivery source. The value can be ACTIVE or INACTIVE.
- status
Reason DeliverySource Status Reason - The reason for the status of this delivery source, such as RESOURCE_DELETED.
- arn str
- The Amazon Resource Name (ARN) that uniquely identifies this delivery source.
- id str
- The provider-assigned unique ID for this managed resource.
- resource_
arns Sequence[str] - 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 str
- The AWS service that is sending logs.
- status
Delivery
Source Status - The status of this delivery source. The value can be ACTIVE or INACTIVE.
- status_
reason DeliverySource Status Reason - The reason for the status of this delivery source, such as RESOURCE_DELETED.
- arn String
- The Amazon Resource Name (ARN) that uniquely identifies this delivery source.
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Arns List<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.
- status "ACTIVE" | "INACTIVE"
- The status of this delivery source. The value can be ACTIVE or INACTIVE.
- status
Reason "RESOURCE_DELETED" - The reason for the status of this delivery source, such as RESOURCE_DELETED.
Supporting Types
DeliverySourceStatus, DeliverySourceStatusArgs
- Active
ACTIVE- Inactive
INACTIVE
- Delivery
Source Status Active ACTIVE- Delivery
Source Status Inactive INACTIVE
- "ACTIVE"
ACTIVE- "INACTIVE"
INACTIVE
- Active
ACTIVE- Inactive
INACTIVE
- Active
ACTIVE- Inactive
INACTIVE
- ACTIVE
ACTIVE- INACTIVE
INACTIVE
- "ACTIVE"
ACTIVE- "INACTIVE"
INACTIVE
DeliverySourceStatusReason, DeliverySourceStatusReasonArgs
- Resource
Deleted RESOURCE_DELETED
- Delivery
Source Status Reason Resource Deleted RESOURCE_DELETED
- "RESOURCE_DELETED"
RESOURCE_DELETED
- Resource
Deleted RESOURCE_DELETED
- Resource
Deleted RESOURCE_DELETED
- RESOURCE_DELETED
RESOURCE_DELETED
- "RESOURCE_DELETED"
RESOURCE_DELETED
Tag, TagArgs
A set of tags to apply to the resource.Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 3, 2026 by Pulumi