CfnHubSecurityFindingLogs

class aws_cdk.mixins_preview.aws_securityhub.mixins.CfnHubSecurityFindingLogs

Bases: object

Builder for CfnHubLogsMixin to generate SECURITY_FINDING_LOGS for CfnHub.

CloudformationResource:

AWS::SecurityHub::Hub

LogType:

SECURITY_FINDING_LOGS

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.aws_securityhub import mixins as securityhub_mixins

cfn_hub_security_finding_logs = securityhub_mixins.CfnHubSecurityFindingLogs()
Stability:

experimental

Methods

to_destination(destination, *, record_fields=None)

Delivers logs to a pre-created delivery destination.

Supported destinations are CWL 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().

Parameters:
Return type:

CfnHubLogsMixin

to_log_group(log_group, *, output_format=None, record_fields=None)

Send logs to a CloudWatch Log Group.

Parameters:
Return type:

CfnHubLogsMixin