DeliveryProps

class aws_cdk.mixins_preview.aws_logs.DeliveryProps(*, mandatory_fields=None, provided_fields=None, output_format=None)

Bases: RecordFieldDeliveryProps

(experimental) Props for Log Deliveries.

Parameters:
  • mandatory_fields (Optional[Sequence[str]]) – (experimental) Any recordFields that a mandatory to be included in a log delivery of a certain log type. Default: - log type has no mandatory fields

  • provided_fields (Optional[Sequence[str]]) – (experimental) RecordFields the user has defined to be used in log delivery.

  • output_format (Optional[str]) – (experimental) Format of the logs that are sent to the delivery destination specified.

Stability:

experimental

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.mixins_preview import aws_logs as logs

delivery_props = logs.DeliveryProps(
    mandatory_fields=["mandatoryFields"],
    output_format="outputFormat",
    provided_fields=["providedFields"]
)

Attributes

mandatory_fields

(experimental) Any recordFields that a mandatory to be included in a log delivery of a certain log type.

Default:
  • log type has no mandatory fields

Stability:

experimental

output_format

(experimental) Format of the logs that are sent to the delivery destination specified.

Stability:

experimental

Defualt:
  • undefined, use whatever default the delivery destination specifies

provided_fields

(experimental) RecordFields the user has defined to be used in log delivery.

Stability:

experimental

Defualt:
  • no fields were provided