interface CfnDeliverySourceProps
| Language | Type name | 
|---|---|
  .NET | Amazon.CDK.AWS.Logs.CfnDeliverySourceProps | 
  Go | github.com/aws/aws-cdk-go/awscdk/v2/awslogs#CfnDeliverySourceProps | 
  Java | software.amazon.awscdk.services.logs.CfnDeliverySourceProps | 
  Python | aws_cdk.aws_logs.CfnDeliverySourceProps | 
  TypeScript  | aws-cdk-lib » aws_logs » CfnDeliverySourceProps | 
Properties for defining a CfnDeliverySource.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-deliverysource.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_logs as logs } from 'aws-cdk-lib';
const cfnDeliverySourceProps: logs.CfnDeliverySourceProps = {
  name: 'name',
  // the properties below are optional
  logType: 'logType',
  resourceArn: 'resourceArn',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
Properties
| Name | Type | Description | 
|---|---|---|
| name | string | The unique name of the delivery source. | 
| log | string | The type of log that the source is sending. | 
| resource | string | The ARN of the AWS resource that is generating and sending logs. | 
| tags? | Cfn[] | An array of key-value pairs to apply to the delivery source. | 
name
Type:
string
The unique name of the delivery source.
logType?
Type:
string
(optional)
The type of log that the source is sending.
For valid values for this parameter, see the documentation for the source service.
resourceArn?
Type:
string
(optional)
The ARN of the AWS resource that is generating and sending logs.
For example, arn:aws:workmail:us-east-1:123456789012:organization/m-1234EXAMPLEabcd1234abcd1234abcd1234
tags?
Type:
Cfn[]
(optional)
An array of key-value pairs to apply to the delivery source.
For more information, see Tag .

 .NET
 Go
 Java
 Python
 TypeScript