Interface CfnIntegrationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnIntegrationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:41.696Z")
@Stability(Stable)
public interface CfnIntegrationProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnIntegration.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.logs.*;
CfnIntegrationProps cfnIntegrationProps = CfnIntegrationProps.builder()
.integrationName("integrationName")
.integrationType("integrationType")
.resourceConfig(ResourceConfigProperty.builder()
.openSearchResourceConfig(OpenSearchResourceConfigProperty.builder()
.dashboardViewerPrincipals(List.of("dashboardViewerPrincipals"))
.dataSourceRoleArn("dataSourceRoleArn")
// the properties below are optional
.applicationArn("applicationArn")
.kmsKeyArn("kmsKeyArn")
.retentionDays(123)
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnIntegrationPropsstatic final classAn implementation forCfnIntegrationProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnIntegrationProps.Builderbuilder()The name of this integration.The type of integration.This structure contains configuration details about an integration between CloudWatch Logs and another entity.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getIntegrationName
The name of this integration.- See Also:
-
getIntegrationType
The type of integration.Integrations with OpenSearch Service have the type
OPENSEARCH.- See Also:
-
getResourceConfig
This structure contains configuration details about an integration between CloudWatch Logs and another entity.Returns union: either
IResolvableorCfnIntegration.ResourceConfigProperty- See Also:
-
builder
- Returns:
- a
CfnIntegrationProps.BuilderofCfnIntegrationProps
-