interface LogPublishingOptionsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.OSIS.CfnPipelinePropsMixin.LogPublishingOptionsProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsosis#CfnPipelinePropsMixin_LogPublishingOptionsProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.osis.CfnPipelinePropsMixin.LogPublishingOptionsProperty |
Python | aws_cdk.cfn_property_mixins.aws_osis.CfnPipelinePropsMixin.LogPublishingOptionsProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_osis » 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 { aws_osis as osis } from '@aws-cdk/cfn-property-mixins';
const logPublishingOptionsProperty: osis.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