CfnIntegrationProps

class aws_cdk.aws_logs.CfnIntegrationProps(*, integration_name, integration_type, resource_config)

Bases: object

Properties for defining a CfnIntegration.

Parameters:
  • integration_name (str) – The name of this integration.

  • integration_type (str) – The type of integration. Integrations with OpenSearch Service have the type OPENSEARCH .

  • resource_config (Union[IResolvable, ResourceConfigProperty, Dict[str, Any]]) – This structure contains configuration details about an integration between CloudWatch Logs and another entity.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-integration.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_logs as logs

cfn_integration_props = logs.CfnIntegrationProps(
    integration_name="integrationName",
    integration_type="integrationType",
    resource_config=logs.CfnIntegration.ResourceConfigProperty(
        open_search_resource_config=logs.CfnIntegration.OpenSearchResourceConfigProperty(
            dashboard_viewer_principals=["dashboardViewerPrincipals"],
            data_source_role_arn="dataSourceRoleArn",

            # the properties below are optional
            application_arn="applicationArn",
            kms_key_arn="kmsKeyArn",
            retention_days=123
        )
    )
)

Attributes

integration_name

The name of this integration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-integration.html#cfn-logs-integration-integrationname

integration_type

The type of integration.

Integrations with OpenSearch Service have the type OPENSEARCH .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-integration.html#cfn-logs-integration-integrationtype

resource_config

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-integration.html#cfn-logs-integration-resourceconfig