CfnDeliverySourceProps

class aws_cdk.aws_logs.CfnDeliverySourceProps(*, name, log_type=None, resource_arn=None, tags=None)

Bases: object

Properties for defining a CfnDeliverySource.

Parameters:
  • name (str) – The unique name of the delivery source.

  • log_type (Optional[str]) – The type of log that the source is sending. For valid values for this parameter, see the documentation for the source service.

  • resource_arn (Optional[str]) – 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 (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – An array of key-value pairs to apply to the delivery source. For more information, see Tag .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-deliverysource.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_logs as logs

cfn_delivery_source_props = logs.CfnDeliverySourceProps(
    name="name",

    # the properties below are optional
    log_type="logType",
    resource_arn="resourceArn",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

log_type

The type of log that the source is sending.

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-deliverysource.html#cfn-logs-deliverysource-logtype

name

The unique name of the delivery source.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-deliverysource.html#cfn-logs-deliverysource-name

resource_arn

The ARN of the AWS resource that is generating and sending logs.

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-deliverysource.html#cfn-logs-deliverysource-resourcearn

tags

An array of key-value pairs to apply to the delivery source.

For more information, see Tag .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-deliverysource.html#cfn-logs-deliverysource-tags