aws-cdk-lib.aws_osis.CfnPipeline.LogPublishingOptionsProperty

interface LogPublishingOptionsProperty

LanguageType name
.NETAmazon.CDK.aws_osis.CfnPipeline.LogPublishingOptionsProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsosis#CfnPipeline_LogPublishingOptionsProperty
Javaservices.osis.CfnPipeline.LogPublishingOptionsProperty
Pythonaws_cdk.aws_osis.CfnPipeline.LogPublishingOptionsProperty
TypeScript aws-cdk-lib » aws_osis » CfnPipeline » LogPublishingOptionsProperty

Container for the values required to configure logging for the pipeline.

If you don't specify these values, OpenSearch Ingestion will not publish logs from your application to CloudWatch Logs.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_osis as osis } from 'aws-cdk-lib';
const logPublishingOptionsProperty: osis.CfnPipeline.LogPublishingOptionsProperty = {
  cloudWatchLogDestination: {
    logGroup: 'logGroup',
  },
  isLoggingEnabled: false,
};

Properties

NameTypeDescription
cloudWatchLogDestination?IResolvable | CloudWatchLogDestinationPropertyThe destination for OpenSearch Ingestion logs sent to Amazon CloudWatch Logs.
isLoggingEnabled?boolean | IResolvableWhether logs should be published.

cloudWatchLogDestination?

Type: IResolvable | CloudWatchLogDestinationProperty (optional)

The destination for OpenSearch Ingestion logs sent to Amazon CloudWatch Logs.

This parameter is required if IsLoggingEnabled is set to true .


isLoggingEnabled?

Type: boolean | IResolvable (optional)

Whether logs should be published.