@Stability(value=Stable)
public static interface CfnEndpoint.ElasticsearchSettingsProperty
extends software.amazon.jsii.JsiiSerializable
This information includes the output format of records applied to the endpoint and details of transaction and control table data information. For more information about the available settings, see Extra connection attributes when using OpenSearch as a target for AWS DMS in the AWS Database Migration Service User Guide .
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.dms.*;
ElasticsearchSettingsProperty elasticsearchSettingsProperty = ElasticsearchSettingsProperty.builder()
.endpointUri("endpointUri")
.errorRetryDuration(123)
.fullLoadErrorPercentage(123)
.serviceAccessRoleArn("serviceAccessRoleArn")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnEndpoint.ElasticsearchSettingsProperty.Builder
A builder for
CfnEndpoint.ElasticsearchSettingsProperty |
static class |
CfnEndpoint.ElasticsearchSettingsProperty.Jsii$Proxy
An implementation for
CfnEndpoint.ElasticsearchSettingsProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnEndpoint.ElasticsearchSettingsProperty.Builder |
builder() |
default String |
getEndpointUri()
The endpoint for the OpenSearch cluster.
|
default Number |
getErrorRetryDuration()
The maximum number of seconds for which DMS retries failed API requests to the OpenSearch cluster.
|
default Number |
getFullLoadErrorPercentage()
The maximum percentage of records that can fail to be written before a full load operation stops.
|
default String |
getServiceAccessRoleArn()
The Amazon Resource Name (ARN) used by the service to access the IAM role.
|
@Stability(value=Stable) @Nullable default String getEndpointUri()
AWS DMS uses HTTPS if a transport protocol (either HTTP or HTTPS) isn't specified.
@Stability(value=Stable) @Nullable default Number getErrorRetryDuration()
@Stability(value=Stable) @Nullable default Number getFullLoadErrorPercentage()
To avoid early failure, this counter is only effective after 1,000 records are transferred. OpenSearch also has the concept of error monitoring during the last 10 minutes of an Observation Window. If transfer of all records fail in the last 10 minutes, the full load operation stops.
@Stability(value=Stable) @Nullable default String getServiceAccessRoleArn()
The role must allow the iam:PassRole action.
@Stability(value=Stable) static CfnEndpoint.ElasticsearchSettingsProperty.Builder builder()
Copyright © 2022. All rights reserved.