AWS Tools for Windows PowerShell
Command Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Synopsis

Calls the Amazon Elasticsearch UpdateElasticsearchDomainConfig API operation.

Syntax

Update-ESDomainConfig
-AccessPolicy <String>
-AdvancedOption <Hashtable>
-SnapshotOptions_AutomatedSnapshotStartHour <Int32>
-ZoneAwarenessConfig_AvailabilityZoneCount <Int32>
-ElasticsearchClusterConfig_DedicatedMasterCount <Int32>
-ElasticsearchClusterConfig_DedicatedMasterEnabled <Boolean>
-ElasticsearchClusterConfig_DedicatedMasterType <ESPartitionInstanceType>
-DomainName <String>
-EBSOptions_EBSEnabled <Boolean>
-CognitoOptions_Enabled <Boolean>
-DomainEndpointOptions_EnforceHTTPS <Boolean>
-CognitoOptions_IdentityPoolId <String>
-ElasticsearchClusterConfig_InstanceCount <Int32>
-ElasticsearchClusterConfig_InstanceType <ESPartitionInstanceType>
-EBSOptions_Iops <Int32>
-LogPublishingOption <Hashtable>
-CognitoOptions_RoleArn <String>
-VPCOptions_SecurityGroupId <String[]>
-VPCOptions_SubnetId <String[]>
-DomainEndpointOptions_TLSSecurityPolicy <TLSSecurityPolicy>
-CognitoOptions_UserPoolId <String>
-EBSOptions_VolumeSize <Int32>
-EBSOptions_VolumeType <VolumeType>
-ElasticsearchClusterConfig_WarmCount <Int32>
-ElasticsearchClusterConfig_WarmEnabled <Boolean>
-ElasticsearchClusterConfig_WarmType <ESWarmPartitionInstanceType>
-ElasticsearchClusterConfig_ZoneAwarenessEnabled <Boolean>
-Select <String>
-Force <SwitchParameter>

Description

Modifies the cluster configuration of the specified Elasticsearch domain, setting as setting the instance type and the number of instances.

Parameters

-AccessPolicy <String>
IAM access policy as a JSON-formatted string.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAccessPolicies
-AdvancedOption <Hashtable>
Modifies the advanced option to allow references to indices in an HTTP request body. Must be false when configuring access to individual sub-resources. By default, the value is true. See Configuration Advanced Options for more information.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAdvancedOptions
-CognitoOptions_Enabled <Boolean>
Specifies the option to enable Cognito for Kibana authentication.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-CognitoOptions_IdentityPoolId <String>
Specifies the Cognito identity pool ID for Kibana authentication.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-CognitoOptions_RoleArn <String>
Specifies the role ARN that provides Elasticsearch permissions for accessing Cognito resources.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-CognitoOptions_UserPoolId <String>
Specifies the Cognito user pool ID for Kibana authentication.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-DomainEndpointOptions_EnforceHTTPS <Boolean>
Specify if only HTTPS endpoint should be enabled for the Elasticsearch domain.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-DomainEndpointOptions_TLSSecurityPolicy <TLSSecurityPolicy>
Specify the TLS security policy that needs to be applied to the HTTPS endpoint of Elasticsearch domain.
It can be one of the following values:
  • Policy-Min-TLS-1-0-2019-07: TLS security policy which supports TLSv1.0 and higher.
  • Policy-Min-TLS-1-2-2019-07: TLS security policy which supports only TLSv1.2
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-DomainName <String>
The name of the Elasticsearch domain that you are updating.
Required?True
Position?Named
Accept pipeline input?True (ByPropertyName)
-EBSOptions_EBSEnabled <Boolean>
Specifies whether EBS-based storage is enabled.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-EBSOptions_Iops <Int32>
Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-EBSOptions_VolumeSize <Int32>
Integer to specify the size of an EBS volume.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-EBSOptions_VolumeType <VolumeType>
Specifies the volume type for EBS-based storage.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ElasticsearchClusterConfig_DedicatedMasterCount <Int32>
Total number of dedicated master nodes, active and on standby, for the cluster.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ElasticsearchClusterConfig_DedicatedMasterEnabled <Boolean>
A boolean value to indicate whether a dedicated master node is enabled. See About Dedicated Master Nodes for more information.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ElasticsearchClusterConfig_DedicatedMasterType <ESPartitionInstanceType>
The instance type for a dedicated master node.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ElasticsearchClusterConfig_InstanceCount <Int32>
The number of instances in the specified domain cluster.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ElasticsearchClusterConfig_InstanceType <ESPartitionInstanceType>
The instance type for an Elasticsearch cluster. UltraWarm instance types are not supported for data instances.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ElasticsearchClusterConfig_WarmCount <Int32>
The number of warm nodes in the cluster.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ElasticsearchClusterConfig_WarmEnabled <Boolean>
True to enable warm storage.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ElasticsearchClusterConfig_WarmType <ESWarmPartitionInstanceType>
The instance type for the Elasticsearch cluster's warm nodes.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ElasticsearchClusterConfig_ZoneAwarenessEnabled <Boolean>
A boolean value to indicate whether zone awareness is enabled. See About Zone Awareness for more information.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
This parameter overrides confirmation prompts to force the cmdlet to continue its operation. This parameter should always be used with caution.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-LogPublishingOption <Hashtable>
Map of LogType and LogPublishingOption, each containing options to publish a given type of Elasticsearch log.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesLogPublishingOptions
-Select <String>
Use the -Select parameter to control the cmdlet output. The default value is 'DomainConfig'. Specifying -Select '*' will result in the cmdlet returning the whole service response (Amazon.Elasticsearch.Model.UpdateElasticsearchDomainConfigResponse). Specifying the name of a property of type Amazon.Elasticsearch.Model.UpdateElasticsearchDomainConfigResponse will result in that property being returned. Specifying -Select '^ParameterName' will result in the cmdlet returning the selected cmdlet parameter value.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-SnapshotOptions_AutomatedSnapshotStartHour <Int32>
Specifies the time, in UTC format, when the service takes a daily automated snapshot of the specified Elasticsearch domain. Default value is 0 hours.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-VPCOptions_SecurityGroupId <String[]>
Specifies the security groups for VPC endpoint.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesVPCOptions_SecurityGroupIds
-VPCOptions_SubnetId <String[]>
Specifies the subnets for VPC endpoint.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesVPCOptions_SubnetIds
-ZoneAwarenessConfig_AvailabilityZoneCount <Int32>
An integer value to indicate the number of availability zones for a domain when zone awareness is enabled. This should be equal to number of subnets if VPC endpoints is enabled
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesElasticsearchClusterConfig_ZoneAwarenessConfig_AvailabilityZoneCount

Common Credential and Region Parameters

-AccessKey <String>
The AWS access key for the user account. This can be a temporary access key if the corresponding session token is supplied to the -SessionToken parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAK
-Credential <AWSCredentials>
An AWSCredentials object instance containing access and secret key information, and optionally a token for session-based credentials.
Required?False
Position?Named
Accept pipeline input?True (ByValue, ByPropertyName)
-EndpointUrl <String>
The endpoint to make the call against.Note: This parameter is primarily for internal AWS use and is not required/should not be specified for normal usage. The cmdlets normally determine which endpoint to call based on the region specified to the -Region parameter or set as default in the shell (via Set-DefaultAWSRegion). Only specify this parameter if you must direct the call to a specific custom endpoint.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-NetworkCredential <PSCredential>
Used with SAML-based authentication when ProfileName references a SAML role profile. Contains the network credentials to be supplied during authentication with the configured identity provider's endpoint. This parameter is not required if the user's default network identity can or should be used during authentication.
Required?False
Position?Named
Accept pipeline input?True (ByValue, ByPropertyName)
-ProfileLocation <String>
Used to specify the name and location of the ini-format credential file (shared with the AWS CLI and other AWS SDKs)If this optional parameter is omitted this cmdlet will search the encrypted credential file used by the AWS SDK for .NET and AWS Toolkit for Visual Studio first. If the profile is not found then the cmdlet will search in the ini-format credential file at the default location: (user's home directory)\.aws\credentials.If this parameter is specified then this cmdlet will only search the ini-format credential file at the location given.As the current folder can vary in a shell or during script execution it is advised that you use specify a fully qualified path instead of a relative path.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAWSProfilesLocation, ProfilesLocation
-ProfileName <String>
The user-defined name of an AWS credentials or SAML-based role profile containing credential information. The profile is expected to be found in the secure credential file shared with the AWS SDK for .NET and AWS Toolkit for Visual Studio. You can also specify the name of a profile stored in the .ini-format credential file used with the AWS CLI and other AWS SDKs.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesStoredCredentials, AWSProfileName
-Region <Object>
The system name of an AWS region or an AWSRegion instance. This governs the endpoint that will be used when calling service operations. Note that the AWS resources referenced in a call are usually region-specific.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesRegionToCall
-SecretKey <String>
The AWS secret key for the user account. This can be a temporary secret key if the corresponding session token is supplied to the -SessionToken parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesSK, SecretAccessKey
-SessionToken <String>
The session token if the access and secret keys are temporary session-based credentials.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesST

Outputs

This cmdlet returns an Amazon.Elasticsearch.Model.ElasticsearchDomainConfig object. The service call response (type Amazon.Elasticsearch.Model.UpdateElasticsearchDomainConfigResponse) can also be referenced from properties attached to the cmdlet entry in the $AWSHistory stack.

Supported Version

AWS Tools for PowerShell: 2.x.y.z