CfnIntegrationProps Struct
Properties for defining a CfnIntegration.
Example
ts
// 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
integrationNamestringintegration_namestrintegrationNameStringIntegrationNamestringIntegrationName*stringrequired#The name of this integration.
integrationTypestringintegration_typestrintegrationTypeStringIntegrationTypestringIntegrationType*stringrequired#The type of integration.
Integrations with OpenSearch Service have the type OPENSEARCH .
resourceConfigIResolvable | CfnIntegration.ResourceConfigPropertyresource_configtyping.Union[IResolvable, ResourceConfigProperty]resourceConfigIResolvableResourceConfigIResolvableResourceConfiginterface{}required#This structure contains configuration details about an integration between CloudWatch Logs and another entity.