AWSConfigRemediation-EnforceHTTPSOnOpenSearchDomain - AWS Systems Manager Automation Runbook Reference
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

AWSConfigRemediation-EnforceHTTPSOnOpenSearchDomain

Description

The AWSConfigRemediation-EnforceHTTPSOnOpenSearchDomain runbook enables EnforceHTTPS on a given Amazon OpenSearch Service domain using the UpdateDomainConfig API.

Run this Automation (console)

Document type

Automation

Owner

Amazon

Platforms

Linux, macOS, Windows

Parameters

  • DomainName

    Type: String

    Allowed values: (\d{12}/)?[a-z]{1}[a-z0-9-]{2,28}

    Description: (Required) The name of the Amazon OpenSearch Service domain that you want to use to enforce HTTPS.

  • AutomationAssumeRole

    Type: String

    Description: (Required) The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that allows Systems Manager Automation to perform the actions on your behalf.

Required IAM permissions

The AutomationAssumeRole parameter requires the following actions to use the runbook successfully.

  • ssm:StartAutomationExecution

  • ssm:GetAutomationExecution

  • es:DescribeDomain

  • es:UpdateDomainConfig

Document Steps

  • aws:executeScript - Enables the EnforceHTTPS endpoint option on the Amazon OpenSearch Service domain you specify in the DomainName parameter.