Skip to content
v2.275.0

CfnDeliverySourcePropsMixin Mixin ​

Creates or updates one delivery source in your account.

A delivery source is an AWS resource that sends logs to an AWS destination. The destination can be CloudWatch Logs , Amazon S3 , or Firehose .

Only some AWS services support being configured as a delivery source. These services are listed as Supported [V2 Permissions] in the table at Enabling logging from AWS services.

To configure logs delivery between a supported AWS service and a destination, you must do the following:

  • Create a delivery source, which is a logical object that represents the resource that is actually sending the logs.
  • Create a delivery destination , which is a logical object that represents the actual delivery destination. For more information, see AWS::Logs::DeliveryDestination or PutDeliveryDestination .
  • Create a delivery by pairing exactly one delivery source and one delivery destination. For more information, see AWS::Logs::Delivery or CreateDelivery .

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.

Initializer ​

ts
new CfnDeliverySourcePropsMixin(props: CfnDeliverySourceMixinProps, options?: CfnPropertyMixinOptions)
python
CfnDeliverySourcePropsMixin(props: CfnDeliverySourceMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
java
new CfnDeliverySourcePropsMixin(CfnDeliverySourceMixinProps props, CfnPropertyMixinOptions options)
csharp
new CfnDeliverySourcePropsMixin(CfnDeliverySourceMixinProps props, CfnPropertyMixinOptions? options = null)
go
NewCfnDeliverySourcePropsMixin(Props CfnDeliverySourceMixinProps, Options CfnPropertyMixinOptions)

Methods ​

applyTo(construct: IConstruct): voiddef apply_to(self, construct: IConstruct) -> Nonepublic void applyTo(IConstruct construct)public void ApplyTo(IConstruct construct)func ApplyTo(Construct IConstruct)#
Apply the mixin properties to the construct.
isMixin(x: any): boolean@staticmethod def is_mixin(x: Any) -> boolpublic static Boolean isMixin(Object x)public static bool IsMixin(object x)func IsMixin(X interface{}) *boolstatic#
Checks if `x` is a Mixin.
1 parameter · returns

Parameters

  • xxxxX — Any object.

Returns: true if x is an object created from a class which extends Mixin.

supports(construct: IConstruct): booleandef supports(self, construct: IConstruct) -> boolpublic Boolean supports(IConstruct construct)public bool Supports(IConstruct construct)func Supports(Construct IConstruct) *bool#
Check if this mixin supports the given construct.