To create an Amazon OpenSearch Service subscription filter to send data to another account, you can use the following AWS CLI command:

aws opensearchservice create-outbound-cross-cluster-search-connection \  
    --domain-name <source-domain-name> \  
    --cross-cluster-search-connection-id <connection-id> \  
    --destination-region <destination-region> \  
    --destination-domain-info DomainName=<destination-domain-name>,OwnerId=<destination-account-id> \  
    --source-region <source-region> \  
    --source-domain-info DomainName=<source-domain-name>,OwnerId=<source-account-id>

Replace the following parameters:

  • <source-domain-name>: The domain name of the source OpenSearch service.
  • <connection-id>: The connection ID for the cross-account connection to be created.
  • <destination-region>: The region of the destination account.
  • <destination-domain-name>: The domain name of the destination OpenSearch service.
  • <destination-account-id>: The account ID of the destination account.
  • <source-region>: The region of the source OpenSearch service.
  • <source-account-id>: The account ID of the source account.

This command will create a cross-account connection, allowing data from the source OpenSearch service to be sent to the destination OpenSearch service in another account.

Create Amazon OpenSearch Service Cross-Account Subscription Filter with AWS CLI

原文地址: https://www.cveoy.top/t/topic/pv5o 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录