public static interface CfnEndpoint.ElasticsearchSettingsProperty
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 java.lang.String |
getEndpointUri()
The endpoint for the OpenSearch cluster.
|
default java.lang.Number |
getErrorRetryDuration()
The maximum number of seconds for which DMS retries failed API requests to the OpenSearch cluster.
|
default java.lang.Number |
getFullLoadErrorPercentage()
The maximum percentage of records that can fail to be written before a full load operation stops.
|
default java.lang.String |
getServiceAccessRoleArn()
The Amazon Resource Name (ARN) used by the service to access the IAM role.
|
default java.lang.String getEndpointUri()
AWS DMS uses HTTPS if a transport protocol (either HTTP or HTTPS) isn't specified.
default java.lang.Number getErrorRetryDuration()
default java.lang.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.
default java.lang.String getServiceAccessRoleArn()
The role must allow the iam:PassRole
action.
static CfnEndpoint.ElasticsearchSettingsProperty.Builder builder()