CfnDeliveryPropsMixin
- class aws_cdk.mixins_preview.aws_logs.mixins.CfnDeliveryPropsMixin(props, *, strategy=None)
Bases:
MixinThis structure contains information about one delivery in your account.
A delivery is a connection between a logical delivery source and a logical delivery destination .
For more information, see CreateDelivery .
To update an existing delivery configuration, use UpdateDeliveryConfiguration .
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-delivery.html
- CloudformationResource:
AWS::Logs::Delivery
- Mixin:
true
- 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 mixins from aws_cdk.mixins_preview.aws_logs import mixins as logs_mixins cfn_delivery_props_mixin = logs_mixins.CfnDeliveryPropsMixin(logs_mixins.CfnDeliveryMixinProps( delivery_destination_arn="deliveryDestinationArn", delivery_source_name="deliverySourceName", field_delimiter="fieldDelimiter", record_fields=["recordFields"], s3_enable_hive_compatible_path=False, s3_suffix_path="s3SuffixPath", tags=[CfnTag( key="key", value="value" )] ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::Logs::Delivery.- Parameters:
props (
Union[CfnDeliveryMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['deliveryDestinationArn', 'deliverySourceName', 'fieldDelimiter', 'recordFields', 's3EnableHiveCompatiblePath', 's3SuffixPath', 'tags']
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental