AWS::OpsWorks::LayerResource Type definition for AWS::OpsWorks::Layer
19 configurable properties. 7 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
AutoAssignElasticIps | boolean | Required |
AutoAssignPublicIps | boolean | Required |
EnableAutoHealing | boolean | Required |
Name | string | Required |
Shortname | string | Required |
StackId | string | RequiredCreate-only |
Type | string | RequiredCreate-only |
Attributes | object | |
CustomInstanceProfileArn | string | |
CustomJson | object | |
CustomRecipes | Recipes | |
CustomSecurityGroupIds | Array<string> | |
InstallUpdatesOnBoot | boolean | |
LifecycleEventConfiguration | LifecycleEventConfiguration | |
LoadBasedAutoScaling | LoadBasedAutoScaling | |
Packages | Array<string> | |
Tags | Array<Tag> | |
UseEbsOptimizedInstances | boolean | |
VolumeConfigurations | Array<VolumeConfiguration> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Id | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::OpsWorks::Layer
Resources:
MyResource:
Type: AWS::OpsWorks::Layer
Properties:
EnableAutoHealing: true
Name: "my-name"
Type: "value"
AutoAssignElasticIps: true
Shortname: "my-shortname"
AutoAssignPublicIps: true
StackId: "my-stackid"
Tags:
- Key: Environment
Value: ProductionOur 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.
TypeStackId