interface LogPublishingOptionsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.OSIS.Mixins.CfnPipelinePropsMixin.LogPublishingOptionsProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsosis/mixins#CfnPipelinePropsMixin_LogPublishingOptionsProperty |
Java | software.amazon.awscdk.mixins.preview.services.osis.mixins.CfnPipelinePropsMixin.LogPublishingOptionsProperty |
Python | aws_cdk.mixins_preview.aws_osis.mixins.CfnPipelinePropsMixin.LogPublishingOptionsProperty |
TypeScript | @aws-cdk/mixins-preview » aws_osis » mixins » CfnPipelinePropsMixin » 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 { mixins as osis_mixins } from '@aws-cdk/mixins-preview/aws-osis';
const logPublishingOptionsProperty: osis_mixins.CfnPipelinePropsMixin.LogPublishingOptionsProperty = {
cloudWatchLogDestination: {
logGroup: 'logGroup',
},
isLoggingEnabled: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| cloud | IResolvable | Cloud | The destination for OpenSearch Ingestion logs sent to Amazon CloudWatch Logs. |
| is | boolean | IResolvable | Whether logs should be published. |
cloudWatchLogDestination?
Type:
IResolvable | Cloud
(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.

.NET
Go
Java
Python
TypeScript