We recommend new projects start with resources from the AWS provider.
aws-native.logs.DeliverySource
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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,
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.
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
The DeliverySource resource accepts the following input properties:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
Supporting Types
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.