class CfnHubSecurityFindingLogs
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SecurityHub.Mixins.CfnHubSecurityFindingLogs |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awssecurityhub/mixins#CfnHubSecurityFindingLogs |
Java | software.amazon.awscdk.mixins.preview.services.securityhub.mixins.CfnHubSecurityFindingLogs |
Python | aws_cdk.mixins_preview.aws_securityhub.mixins.CfnHubSecurityFindingLogs |
TypeScript | @aws-cdk/mixins-preview » aws_securityhub » mixins » CfnHubSecurityFindingLogs |
Builder for CfnHubLogsMixin to generate SECURITY_FINDING_LOGS for CfnHub.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as securityhub_mixins } from '@aws-cdk/mixins-preview/aws-securityhub';
const cfnHubSecurityFindingLogs = new securityhub_mixins.CfnHubSecurityFindingLogs();
Initializer
new CfnHubSecurityFindingLogs()
Methods
| Name | Description |
|---|---|
| to | Delivers logs to a pre-created delivery destination. |
| to | Send logs to a CloudWatch Log Group. |
toDestination(destination, props?)
public toDestination(destination: IDeliveryDestinationRef, props?: CfnHubSecurityFindingLogsDestProps): CfnHubLogsMixin
Parameters
- destination
IDeliveryDestination Ref - props
Cfn— Additional properties that are optionally used in log delivery for destinations.Hub Security Finding Logs Dest Props
Returns
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().
toLogGroup(logGroup, props?)
public toLogGroup(logGroup: ILogGroupRef, props?: CfnHubSecurityFindingLogsLogGroupProps): CfnHubLogsMixin
Parameters
- logGroup
ILogGroup Ref - props
Cfn— Additional properties that are optionally used in log delivery for Log Group destinations.Hub Security Finding Logs Log Group Props
Returns
Send logs to a CloudWatch Log Group.

.NET
Go
Java
Python
TypeScript