Skip to content
v2.274.0

CfnDeliverySourceProps Struct ​

Properties for defining a CfnDeliverySource.

Example ​

ts
// 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
  deliverySourceConfiguration: {
    deliverySourceConfigurationKey: 'deliverySourceConfiguration',
  },
  logType: 'logType',
  resourceArn: 'resourceArn',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties ​

deliverySourceConfigurationIResolvable | { [key: string]: string }delivery_source_configurationtyping.Union[IResolvable, typing.Mapping[str, str]]deliverySourceConfigurationIResolvableDeliverySourceConfigurationIResolvableDeliverySourceConfigurationinterface{}#
A map of key-value pairs to configure the delivery source.

Both keys and values must be between 1 and 255 characters in length.

logTypestringlog_typestrlogTypeStringLogTypestringLogType*string#
The type of log that the source is sending.

For valid values for this parameter, see the documentation for the source service.

namestringnamestrnameStringNamestringName*stringrequired#
The unique name of the delivery source.
resourceArnstringresource_arnstrresourceArnStringResourceArnstringResourceArn*string#
The ARN of the AWS resource that is generating and sending logs.

For example, arn:aws:workmail:us-east-1:123456789012:organization/m-1234EXAMPLEabcd1234abcd1234abcd1234

tagsCfnTag[]tagstyping.List[CfnTag]tagsList<CfnTag>TagsCfnTag[]Tags*[]CfnTag#
An array of key-value pairs to apply to the delivery source.

For more information, see Tag .