AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Logs::Integration

CfnIntegration

Creates an integration between CloudWatch Logs and another service in this account. Currently, only integrations with OpenSearch Service are supported, and currently you can have only one integration in your account. Integrating with OpenSearch Service makes it possible for you to create curated vended logs dashboards, powered by OpenSearch Service analytics. For more information, see [Vended log dashboards powered by Amazon OpenSearch Service](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatchLogs-OpenSearch-Dashboards.html) . You can use this operation only to create a new integration. You can't modify an existing integration.

Import

import { CfnIntegration } from 'aws-cdk-lib/aws-logs';

Or use the module namespace:

import * as logs from 'aws-cdk-lib/aws-logs';
// logs.CfnIntegration

Properties

Configuration passed to the constructor as CfnIntegrationProps.

integrationNameRequired
string

The name of this integration.

integrationTypeRequired
string

The type of integration. Integrations with OpenSearch Service have the type `OPENSEARCH` .

resourceConfigRequired
IResolvable | ResourceConfigProperty

This structure contains configuration details about an integration between CloudWatch Logs and another entity.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter