Update Server Engine Attributes
opsworkscm_update_server_engine_attributes | R Documentation |
Updates engine-specific attributes on a specified server¶
Description¶
Updates engine-specific attributes on a specified server. The server
enters the MODIFYING
state when this operation is in progress. Only
one update can occur at a time. You can use this command to reset a Chef
server's public key (CHEF_PIVOTAL_KEY
) or a Puppet server's admin
password (PUPPET_ADMIN_PASSWORD
).
This operation is asynchronous.
This operation can only be called for servers in HEALTHY
or
UNHEALTHY
states. Otherwise, an InvalidStateException
is raised. A
ResourceNotFoundException
is thrown when the server does not exist. A
ValidationException
is raised when parameters of the request are not
valid.
Usage¶
Arguments¶
ServerName
[required] The name of the server to update.
AttributeName
[required] The name of the engine attribute to update.
AttributeValue
The value to set for the attribute.
Value¶
A list with the following syntax:
list(
Server = list(
AssociatePublicIpAddress = TRUE|FALSE,
BackupRetentionCount = 123,
ServerName = "string",
CreatedAt = as.POSIXct(
"2015-01-01"
),
CloudFormationStackArn = "string",
CustomDomain = "string",
DisableAutomatedBackup = TRUE|FALSE,
Endpoint = "string",
Engine = "string",
EngineModel = "string",
EngineAttributes = list(
list(
Name = "string",
Value = "string"
)
),
EngineVersion = "string",
InstanceProfileArn = "string",
InstanceType = "string",
KeyPair = "string",
MaintenanceStatus = "SUCCESS"|"FAILED",
PreferredMaintenanceWindow = "string",
PreferredBackupWindow = "string",
SecurityGroupIds = list(
"string"
),
ServiceRoleArn = "string",
Status = "BACKING_UP"|"CONNECTION_LOST"|"CREATING"|"DELETING"|"MODIFYING"|"FAILED"|"HEALTHY"|"RUNNING"|"RESTORING"|"SETUP"|"UNDER_MAINTENANCE"|"UNHEALTHY"|"TERMINATED",
StatusReason = "string",
SubnetIds = list(
"string"
),
ServerArn = "string"
)
)