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 MQ UpdateBroker API operation.

Syntax

Update-MQBroker
-BrokerId <String>
-Logs_Audit <Boolean>
-AuthenticationStrategy <AuthenticationStrategy>
-AutoMinorVersionUpgrade <Boolean>
-Configuration <ConfigurationId>
-DataReplicationMode <DataReplicationMode>
-EngineVersion <String>
-Logs_General <Boolean>
-HostInstanceType <String>
-LdapServerMetadata_Host <String[]>
-MaintenanceWindowStartTime <WeeklyStartTime>
-LdapServerMetadata_RoleBase <String>
-LdapServerMetadata_RoleName <String>
-LdapServerMetadata_RoleSearchMatching <String>
-LdapServerMetadata_RoleSearchSubtree <Boolean>
-SecurityGroup <String[]>
-LdapServerMetadata_ServiceAccountPassword <String>
-LdapServerMetadata_ServiceAccountUsername <String>
-LdapServerMetadata_UserBase <String>
-LdapServerMetadata_UserRoleName <String>
-LdapServerMetadata_UserSearchMatching <String>
-LdapServerMetadata_UserSearchSubtree <Boolean>
-Select <String>
-PassThru <SwitchParameter>
-Force <SwitchParameter>
-ClientConfig <AmazonMQConfig>

Description

Adds a pending configuration change to a broker.

Parameters

-AuthenticationStrategy <AuthenticationStrategy>
Optional. The authentication strategy used to secure the broker. The default is SIMPLE.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-AutoMinorVersionUpgrade <Boolean>
Enables automatic upgrades to new minor versions for brokers, as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window of the broker or after a manual broker reboot.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-BrokerId <String>
The unique ID that Amazon MQ generates for the broker.
Required?True
Position?1
Accept pipeline input?True (ByValue, ByPropertyName)
-ClientConfig <AmazonMQConfig>
Amazon.PowerShell.Cmdlets.MQ.AmazonMQClientCmdlet.ClientConfig
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Configuration <ConfigurationId>
A list of information about the configuration.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-DataReplicationMode <DataReplicationMode>
Defines whether this broker is a part of a data replication pair.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-EngineVersion <String>
The broker engine version. For a list of supported engine versions, see Supported engines.
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)
-HostInstanceType <String>
The broker's host instance type to upgrade to. For a list of supported instance types, see Broker instance types.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-LdapServerMetadata_Host <String[]>
Specifies the location of the LDAP server such as Directory Service for Microsoft Active Directory. Optional failover server.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesLdapServerMetadata_Hosts
-LdapServerMetadata_RoleBase <String>
The distinguished name of the node in the directory information tree (DIT) to search for roles or groups. For example, ou=group, ou=corp, dc=corp, dc=example, dc=com.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-LdapServerMetadata_RoleName <String>
Specifies the LDAP attribute that identifies the group name attribute in the object returned from the group membership query.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-LdapServerMetadata_RoleSearchMatching <String>
The LDAP search filter used to find roles within the roleBase. The distinguished name of the user matched by userSearchMatching is substituted into the {0} placeholder in the search filter. The client's username is substituted into the {1} placeholder. For example, if you set this option to (member=uid={1})for the user janedoe, the search filter becomes (member=uid=janedoe) after string substitution. It matches all role entries that have a member attribute equal to uid=janedoe under the subtree selected by the roleBase.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-LdapServerMetadata_RoleSearchSubtree <Boolean>
The directory search scope for the role. If set to true, scope is to search the entire subtree.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-LdapServerMetadata_ServiceAccountPassword <String>
Service account password. A service account is an account in your LDAP server that has access to initiate a connection. For example, cn=admin,dc=corp, dc=example, dc=com.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-LdapServerMetadata_ServiceAccountUsername <String>
Service account username. A service account is an account in your LDAP server that has access to initiate a connection. For example, cn=admin,dc=corp, dc=example, dc=com.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-LdapServerMetadata_UserBase <String>
Select a particular subtree of the directory information tree (DIT) to search for user entries. The subtree is specified by a DN, which specifies the base node of the subtree. For example, by setting this option to ou=Users,ou=corp, dc=corp, dc=example, dc=com, the search for user entries is restricted to the subtree beneath ou=Users, ou=corp, dc=corp, dc=example, dc=com.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-LdapServerMetadata_UserRoleName <String>
Specifies the name of the LDAP attribute for the user group membership.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-LdapServerMetadata_UserSearchMatching <String>
The LDAP search filter used to find users within the userBase. The client's username is substituted into the {0} placeholder in the search filter. For example, if this option is set to (uid={0}) and the received username is janedoe, the search filter becomes (uid=janedoe) after string substitution. It will result in matching an entry like uid=janedoe, ou=Users,ou=corp, dc=corp, dc=example, dc=com.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-LdapServerMetadata_UserSearchSubtree <Boolean>
The directory search scope for the user. If set to true, scope is to search the entire subtree.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Logs_Audit <Boolean>
Enables audit logging. Every user management action made using JMX or the ActiveMQ Web Console is logged. Does not apply to RabbitMQ brokers.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Logs_General <Boolean>
Enables general logging.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-MaintenanceWindowStartTime <WeeklyStartTime>
The parameters that determine the WeeklyStartTime.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-PassThru <SwitchParameter>
Changes the cmdlet behavior to return the value passed to the BrokerId parameter. The -PassThru parameter is deprecated, use -Select '^BrokerId' instead. This parameter will be removed in a future version.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-SecurityGroup <String[]>
The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesSecurityGroups
-Select <String>
Use the -Select parameter to control the cmdlet output. The default value is '*'. Specifying -Select '*' will result in the cmdlet returning the whole service response (Amazon.MQ.Model.UpdateBrokerResponse). Specifying the name of a property of type Amazon.MQ.Model.UpdateBrokerResponse 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)

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.MQ.Model.UpdateBrokerResponse object containing multiple properties. The object 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