Show / Hide Table of Contents

Class CfnScraperApplicationLogs

Builder for CfnScraperLogsMixin to generate APPLICATION_LOGS for CfnScraper.

Inheritance
object
CfnScraperApplicationLogs
Namespace: Amazon.CDK.Mixins.Preview.AWS.APS.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnScraperApplicationLogs : DeputyBase
Syntax (vb)
Public Class CfnScraperApplicationLogs Inherits DeputyBase
Remarks

CloudformationResource: AWS::APS::Scraper

LogType: APPLICATION_LOGS

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.AWS.APS.Mixins;

             var cfnScraperApplicationLogs = new CfnScraperApplicationLogs();

Synopsis

Constructors

CfnScraperApplicationLogs()

Builder for CfnScraperLogsMixin to generate APPLICATION_LOGS for CfnScraper.

Methods

ToDestination(IDeliveryDestinationRef)

Delivers logs to a pre-created delivery destination.

ToFirehose(IDeliveryStreamRef)

Send logs to a Firehose Delivery Stream.

ToLogGroup(ILogGroupRef)

Send logs to a CloudWatch Log Group.

ToS3(IBucketRef, IS3LogsDestinationProps?)

Send logs to an S3 Bucket.

Constructors

CfnScraperApplicationLogs()

Builder for CfnScraperLogsMixin to generate APPLICATION_LOGS for CfnScraper.

public CfnScraperApplicationLogs()
Remarks

Stability: Experimental

Methods

ToDestination(IDeliveryDestinationRef)

Delivers logs to a pre-created delivery destination.

public virtual CfnScraperLogsMixin ToDestination(IDeliveryDestinationRef destination)
Parameters
destination IDeliveryDestinationRef
Returns

CfnScraperLogsMixin

Remarks

Supported destinations are S3, CWL, FH You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you. Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().

ToFirehose(IDeliveryStreamRef)

Send logs to a Firehose Delivery Stream.

public virtual CfnScraperLogsMixin ToFirehose(IDeliveryStreamRef deliveryStream)
Parameters
deliveryStream IDeliveryStreamRef
Returns

CfnScraperLogsMixin

Remarks

CloudformationResource: AWS::APS::Scraper

LogType: APPLICATION_LOGS

ExampleMetadata: fixture=_generated

ToLogGroup(ILogGroupRef)

Send logs to a CloudWatch Log Group.

public virtual CfnScraperLogsMixin ToLogGroup(ILogGroupRef logGroup)
Parameters
logGroup ILogGroupRef
Returns

CfnScraperLogsMixin

Remarks

CloudformationResource: AWS::APS::Scraper

LogType: APPLICATION_LOGS

ExampleMetadata: fixture=_generated

ToS3(IBucketRef, IS3LogsDestinationProps?)

Send logs to an S3 Bucket.

public virtual CfnScraperLogsMixin ToS3(IBucketRef bucket, IS3LogsDestinationProps? props = null)
Parameters
bucket IBucketRef
props IS3LogsDestinationProps
Returns

CfnScraperLogsMixin

Remarks

CloudformationResource: AWS::APS::Scraper

LogType: APPLICATION_LOGS

ExampleMetadata: fixture=_generated

Back to top Generated by DocFX