Skip to content

Authorize Vpc Endpoint Access

opensearchservice_authorize_vpc_endpoint_access R Documentation

Provides access to an Amazon OpenSearch Service domain through the use of an interface VPC endpoint

Description

Provides access to an Amazon OpenSearch Service domain through the use of an interface VPC endpoint.

Usage

opensearchservice_authorize_vpc_endpoint_access(DomainName, Account)

Arguments

DomainName

[required] The name of the OpenSearch Service domain to provide access to.

Account

[required] The Amazon Web Services account ID to grant access to.

Value

A list with the following syntax:

list(
  AuthorizedPrincipal = list(
    PrincipalType = "AWS_ACCOUNT"|"AWS_SERVICE",
    Principal = "string"
  )
)

Request syntax

svc$authorize_vpc_endpoint_access(
  DomainName = "string",
  Account = "string"
)