interface CfnIntegrationProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Logs.CfnIntegrationProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awslogs#CfnIntegrationProps |
![]() | software.amazon.awscdk.services.logs.CfnIntegrationProps |
![]() | aws_cdk.aws_logs.CfnIntegrationProps |
![]() | 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.