AWS Fundamentals Logo
AWS Fundamentals
AWS::OpsWorks::Instance

OpsWorks Instance

Resource Type definition for AWS::OpsWorks::Instance

Properties

21 configurable properties. 3 required. Click a row to see details.

Filter:
PropertyTypeFlags
InstanceType
string
Required
LayerIds
Array<string>
Required
StackId
string
RequiredCreate-only
AgentVersion
string
AmiId
string
Architecture
string
AutoScalingType
string
Create-only
AvailabilityZone
string
Create-only
BlockDeviceMappings
Array<BlockDeviceMapping>
Create-only
EbsOptimized
boolean
Create-only
ElasticIps
Array<string>
Hostname
string
InstallUpdatesOnBoot
boolean
Os
string
RootDeviceType
string
Create-only
SshKeyName
string
SubnetId
string
Create-only
Tenancy
string
Create-only
TimeBasedAutoScaling
TimeBasedAutoScaling
Create-only
VirtualizationType
string
Create-only
Volumes
Array<string>

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
Idstring-
PrivateDnsNamestring-
PrivateIpstring-
PublicDnsNamestring-
PublicIpstring-

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::OpsWorks::Instance

Resources:
  MyResource:
    Type: AWS::OpsWorks::Instance
    Properties:
      LayerIds: "my-layerids"
      InstanceType: "value"
      StackId: "my-stackid"

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceOpsWorks
Properties26
Required3
TaggingNot supported
Primary IDId

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

TenancyBlockDeviceMappingsVirtualizationTypeTimeBasedAutoScalingRootDeviceTypeAutoScalingTypeStackIdAvailabilityZoneSubnetIdEbsOptimized

External Links