Class CfnEndpoint.ElasticsearchSettingsProperty
Provides information that defines an OpenSearch endpoint.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.DMS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ElasticsearchSettingsProperty : Object, CfnEndpoint.IElasticsearchSettingsProperty
Syntax (vb)
Public Class ElasticsearchSettingsProperty
Inherits Object
Implements CfnEndpoint.IElasticsearchSettingsProperty
Remarks
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 .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DMS;
var elasticsearchSettingsProperty = new ElasticsearchSettingsProperty {
EndpointUri = "endpointUri",
ErrorRetryDuration = 123,
FullLoadErrorPercentage = 123,
ServiceAccessRoleArn = "serviceAccessRoleArn"
};
Synopsis
Constructors
ElasticsearchSettingsProperty() |
Properties
EndpointUri | The endpoint for the OpenSearch cluster. |
ErrorRetryDuration | The maximum number of seconds for which DMS retries failed API requests to the OpenSearch cluster. |
FullLoadErrorPercentage | The maximum percentage of records that can fail to be written before a full load operation stops. |
ServiceAccessRoleArn | The Amazon Resource Name (ARN) used by the service to access the IAM role. |
Constructors
ElasticsearchSettingsProperty()
public ElasticsearchSettingsProperty()
Properties
EndpointUri
The endpoint for the OpenSearch cluster.
public string EndpointUri { get; set; }
Property Value
System.String
Remarks
AWS DMS uses HTTPS if a transport protocol (either HTTP or HTTPS) isn't specified.
ErrorRetryDuration
The maximum number of seconds for which DMS retries failed API requests to the OpenSearch cluster.
public Nullable<double> ErrorRetryDuration { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
FullLoadErrorPercentage
The maximum percentage of records that can fail to be written before a full load operation stops.
public Nullable<double> FullLoadErrorPercentage { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
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.
ServiceAccessRoleArn
The Amazon Resource Name (ARN) used by the service to access the IAM role.
public string ServiceAccessRoleArn { get; set; }
Property Value
System.String
Remarks
The role must allow the iam:PassRole
action.