AWS::OpsWorks::InstanceResource Type definition for AWS::OpsWorks::Instance
21 configurable properties. 3 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
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> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Id | string | - |
PrivateDnsName | string | - |
PrivateIp | string | - |
PublicDnsName | string | - |
PublicIp | string | - |
A minimal template with required properties and common optional ones.
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"Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
TenancyBlockDeviceMappingsVirtualizationTypeTimeBasedAutoScalingRootDeviceTypeAutoScalingTypeStackIdAvailabilityZoneSubnetIdEbsOptimized