interface CfnIntegrationProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Logs.CfnIntegrationProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslogs#CfnIntegrationProps |
Java | software.amazon.awscdk.services.logs.CfnIntegrationProps |
Python | aws_cdk.aws_logs.CfnIntegrationProps |
TypeScript | aws-cdk-lib » aws_logs » CfnIntegrationProps |
Properties for defining a CfnIntegration.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-integration.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_logs as logs } from 'aws-cdk-lib';
const cfnIntegrationProps: logs.CfnIntegrationProps = {
integrationName: 'integrationName',
integrationType: 'integrationType',
resourceConfig: {
openSearchResourceConfig: {
dashboardViewerPrincipals: ['dashboardViewerPrincipals'],
dataSourceRoleArn: 'dataSourceRoleArn',
// the properties below are optional
applicationArn: 'applicationArn',
kmsKeyArn: 'kmsKeyArn',
retentionDays: 123,
},
},
};
Properties
| Name | Type | Description |
|---|---|---|
| integration | string | The name of this integration. |
| integration | string | The type of integration. |
| resource | IResolvable | Resource | This structure contains configuration details about an integration between CloudWatch Logs and another entity. |
integrationName
Type:
string
The name of this integration.
integrationType
Type:
string
The type of integration.
Integrations with OpenSearch Service have the type OPENSEARCH .
resourceConfig
Type:
IResolvable | Resource
This structure contains configuration details about an integration between CloudWatch Logs and another entity.

.NET
Go
Java
Python
TypeScript