def get_physical_resource_id(self, attribute=None, **kwargs): domain_name = self._domain_name() if attribute == "Arn": # As mentioned above, OpenSearch still uses "es" ARNs return aws_stack.elasticsearch_domain_arn(domain_name) return domain_name
def get_physical_resource_id(self, attribute=None, **kwargs): domain_name = self._domain_name() if attribute == 'Arn': return aws_stack.elasticsearch_domain_arn(domain_name) return domain_name
def get_domain_arn(domain_name: str, region: str = None, account_id: str = None) -> str: return aws_stack.elasticsearch_domain_arn(domain_name=domain_name, account_id=account_id, region_name=region)