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 Amazon Resource Name (ARN) that uniquely identifies this delivery source.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tags that have been assigned to this delivery source.

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 Amazon Resource Name (ARN) that uniquely identifies this delivery source.

See:

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

tags

The tags that have been assigned to this delivery source.

See:

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