AWSIoTElasticsearchAction

Objective-C

@interface AWSIoTElasticsearchAction

Swift

class AWSIoTElasticsearchAction

Describes an action that writes data to an Amazon OpenSearch Service domain.

The Elasticsearch action can only be used by existing rule actions. To create a new rule action or to update an existing rule action, use the OpenSearch rule action instead. For more information, see OpenSearchAction.

Required parameters: [roleArn, endpoint, index, type, id]

  • The endpoint of your OpenSearch domain.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable endpoint;

    Swift

    var endpoint: String? { get set }
  • The unique identifier for the document you are storing.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable identifier;

    Swift

    var identifier: String? { get set }
  • The index where you want to store your data.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable index;

    Swift

    var index: String? { get set }
  • The IAM role ARN that has access to OpenSearch.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable roleArn;

    Swift

    var roleArn: String? { get set }
  • The type of document you are storing.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable types;

    Swift

    var types: String? { get set }