server
Gets an individual server
resource
Overview
Name | server |
Type | Resource |
Description | server |
Id | awscc.opsworkscm.server |
Fields
Name | Datatype | Description |
---|---|---|
key_pair | string | |
engine_version | string | |
service_role_arn | string | |
disable_automated_backup | boolean | |
backup_id | string | |
engine_model | string | |
preferred_maintenance_window | string | |
associate_public_ip_address | boolean | |
instance_profile_arn | string | |
custom_certificate | string | |
preferred_backup_window | string | |
security_group_ids | array | |
subnet_ids | array | |
custom_domain | string | |
endpoint | string | |
custom_private_key | string | |
server_name | string | |
engine_attributes | array | |
backup_retention_count | integer | |
arn | string | |
instance_type | string | |
tags | array | |
engine | string | |
region | string | AWS 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