Class CfnDeliveryDestinationPropsMixin
This structure contains information about one delivery destination in your account.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.Logs.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnDeliveryDestinationPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnDeliveryDestinationPropsMixin Inherits Mixin Implements IMixin
Remarks
A delivery destination is an AWS resource that represents an AWS service that logs can be sent to. CloudWatch Logs, Amazon S3, Firehose, and X-Ray are supported as delivery destinations.
To configure logs delivery between a supported AWS service and a destination, you must do the following:
You can configure a single delivery source to send logs to multiple destinations by creating multiple deliveries. You can also create multiple deliveries to configure multiple delivery sources to send logs to the same delivery destination.
CloudformationResource: AWS::Logs::DeliveryDestination
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.Logs.Mixins;
var deliveryDestinationPolicy;
var cfnDeliveryDestinationPropsMixin = new CfnDeliveryDestinationPropsMixin(new CfnDeliveryDestinationMixinProps {
DeliveryDestinationPolicy = new DestinationPolicyProperty {
DeliveryDestinationName = "deliveryDestinationName",
DeliveryDestinationPolicy = deliveryDestinationPolicy
},
DeliveryDestinationType = "deliveryDestinationType",
DestinationResourceArn = "destinationResourceArn",
Name = "name",
OutputFormat = "outputFormat",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Synopsis
Constructors
| CfnDeliveryDestinationPropsMixin(ICfnDeliveryDestinationMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | This structure contains information about one delivery destination in your account. |
| Props | This structure contains information about one delivery destination in your account. |
| Strategy | This structure contains information about one delivery destination in your account. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnDeliveryDestinationPropsMixin(ICfnDeliveryDestinationMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::Logs::DeliveryDestination.
public CfnDeliveryDestinationPropsMixin(ICfnDeliveryDestinationMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnDeliveryDestinationMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
A delivery destination is an AWS resource that represents an AWS service that logs can be sent to. CloudWatch Logs, Amazon S3, Firehose, and X-Ray are supported as delivery destinations.
To configure logs delivery between a supported AWS service and a destination, you must do the following:
You can configure a single delivery source to send logs to multiple destinations by creating multiple deliveries. You can also create multiple deliveries to configure multiple delivery sources to send logs to the same delivery destination.
CloudformationResource: AWS::Logs::DeliveryDestination
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
This structure contains information about one delivery destination in your account.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
A delivery destination is an AWS resource that represents an AWS service that logs can be sent to. CloudWatch Logs, Amazon S3, Firehose, and X-Ray are supported as delivery destinations.
To configure logs delivery between a supported AWS service and a destination, you must do the following:
You can configure a single delivery source to send logs to multiple destinations by creating multiple deliveries. You can also create multiple deliveries to configure multiple delivery sources to send logs to the same delivery destination.
CloudformationResource: AWS::Logs::DeliveryDestination
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.Logs.Mixins;
var deliveryDestinationPolicy;
var cfnDeliveryDestinationPropsMixin = new CfnDeliveryDestinationPropsMixin(new CfnDeliveryDestinationMixinProps {
DeliveryDestinationPolicy = new DestinationPolicyProperty {
DeliveryDestinationName = "deliveryDestinationName",
DeliveryDestinationPolicy = deliveryDestinationPolicy
},
DeliveryDestinationType = "deliveryDestinationType",
DestinationResourceArn = "destinationResourceArn",
Name = "name",
OutputFormat = "outputFormat",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Props
This structure contains information about one delivery destination in your account.
protected virtual ICfnDeliveryDestinationMixinProps Props { get; }
Property Value
ICfnDeliveryDestinationMixinProps
Remarks
A delivery destination is an AWS resource that represents an AWS service that logs can be sent to. CloudWatch Logs, Amazon S3, Firehose, and X-Ray are supported as delivery destinations.
To configure logs delivery between a supported AWS service and a destination, you must do the following:
You can configure a single delivery source to send logs to multiple destinations by creating multiple deliveries. You can also create multiple deliveries to configure multiple delivery sources to send logs to the same delivery destination.
CloudformationResource: AWS::Logs::DeliveryDestination
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.Logs.Mixins;
var deliveryDestinationPolicy;
var cfnDeliveryDestinationPropsMixin = new CfnDeliveryDestinationPropsMixin(new CfnDeliveryDestinationMixinProps {
DeliveryDestinationPolicy = new DestinationPolicyProperty {
DeliveryDestinationName = "deliveryDestinationName",
DeliveryDestinationPolicy = deliveryDestinationPolicy
},
DeliveryDestinationType = "deliveryDestinationType",
DestinationResourceArn = "destinationResourceArn",
Name = "name",
OutputFormat = "outputFormat",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Strategy
This structure contains information about one delivery destination in your account.
protected virtual PropertyMergeStrategy Strategy { get; }
Property Value
Remarks
A delivery destination is an AWS resource that represents an AWS service that logs can be sent to. CloudWatch Logs, Amazon S3, Firehose, and X-Ray are supported as delivery destinations.
To configure logs delivery between a supported AWS service and a destination, you must do the following:
You can configure a single delivery source to send logs to multiple destinations by creating multiple deliveries. You can also create multiple deliveries to configure multiple delivery sources to send logs to the same delivery destination.
CloudformationResource: AWS::Logs::DeliveryDestination
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.Logs.Mixins;
var deliveryDestinationPolicy;
var cfnDeliveryDestinationPropsMixin = new CfnDeliveryDestinationPropsMixin(new CfnDeliveryDestinationMixinProps {
DeliveryDestinationPolicy = new DestinationPolicyProperty {
DeliveryDestinationName = "deliveryDestinationName",
DeliveryDestinationPolicy = deliveryDestinationPolicy
},
DeliveryDestinationType = "deliveryDestinationType",
DestinationResourceArn = "destinationResourceArn",
Name = "name",
OutputFormat = "outputFormat",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override IConstruct ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Returns
IConstruct
Overrides
Remarks
A delivery destination is an AWS resource that represents an AWS service that logs can be sent to. CloudWatch Logs, Amazon S3, Firehose, and X-Ray are supported as delivery destinations.
To configure logs delivery between a supported AWS service and a destination, you must do the following:
You can configure a single delivery source to send logs to multiple destinations by creating multiple deliveries. You can also create multiple deliveries to configure multiple delivery sources to send logs to the same delivery destination.
CloudformationResource: AWS::Logs::DeliveryDestination
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
A delivery destination is an AWS resource that represents an AWS service that logs can be sent to. CloudWatch Logs, Amazon S3, Firehose, and X-Ray are supported as delivery destinations.
To configure logs delivery between a supported AWS service and a destination, you must do the following:
You can configure a single delivery source to send logs to multiple destinations by creating multiple deliveries. You can also create multiple deliveries to configure multiple delivery sources to send logs to the same delivery destination.
CloudformationResource: AWS::Logs::DeliveryDestination
Mixin: true
ExampleMetadata: fixture=_generated