CfnIntegrationMixinProps

class aws_cdk.mixins_preview.aws_logs.mixins.CfnIntegrationMixinProps(*, integration_name=None, integration_type=None, resource_config=None)

Bases: object

Properties for CfnIntegrationPropsMixin.

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

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

  • resource_config (Union[IResolvable, ResourceConfigProperty, Dict[str, Any], None]) – 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.mixins_preview.aws_logs import mixins as logs_mixins

cfn_integration_mixin_props = logs_mixins.CfnIntegrationMixinProps(
    integration_name="integrationName",
    integration_type="integrationType",
    resource_config=logs_mixins.CfnIntegrationPropsMixin.ResourceConfigProperty(
        open_search_resource_config=logs_mixins.CfnIntegrationPropsMixin.OpenSearchResourceConfigProperty(
            application_arn="applicationArn",
            dashboard_viewer_principals=["dashboardViewerPrincipals"],
            data_source_role_arn="dataSourceRoleArn",
            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