Skip to main content

server

Gets an individual server resource

Overview

Nameserver
TypeResource
Descriptionserver
Idawscc.opsworkscm.server

Fields

NameDatatypeDescription
key_pairstring
engine_versionstring
service_role_arnstring
disable_automated_backupboolean
backup_idstring
engine_modelstring
preferred_maintenance_windowstring
associate_public_ip_addressboolean
instance_profile_arnstring
custom_certificatestring
preferred_backup_windowstring
security_group_idsarray
subnet_idsarray
custom_domainstring
endpointstring
custom_private_keystring
server_namestring
engine_attributesarray
backup_retention_countinteger
arnstring
instance_typestring
tagsarray
enginestring
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
key_pair,
engine_version,
service_role_arn,
disable_automated_backup,
backup_id,
engine_model,
preferred_maintenance_window,
associate_public_ip_address,
instance_profile_arn,
custom_certificate,
preferred_backup_window,
security_group_ids,
subnet_ids,
custom_domain,
endpoint,
custom_private_key,
server_name,
engine_attributes,
backup_retention_count,
arn,
instance_type,
tags,
engine
FROM awscc.opsworkscm.server
WHERE data__Identifier = '<ServerName>';

Permissions

To operate on the server resource, the following permissions are required:

Delete

opsworks-cm:DeleteServer,
opsworks-cm:DescribeServers

Update

opsworks-cm:UpdateServer,
opsworks-cm:TagResource,
opsworks-cm:UntagResource,
opsworks-cm:DescribeServers

Read

opsworks-cm:DescribeServers