AWS::OpsWorks::StackResource Type definition for AWS::OpsWorks::Stack
25 configurable properties. 3 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
DefaultInstanceProfileArn | string | Required |
Name | string | Required |
ServiceRoleArn | string | RequiredCreate-only |
AgentVersion | string | |
Attributes | object | |
ChefConfiguration | ChefConfiguration | |
CloneAppIds | Array<string> | Create-only |
ClonePermissions | boolean | Create-only |
ConfigurationManager | StackConfigurationManager | |
CustomCookbooksSource | Source | |
CustomJson | object | |
DefaultAvailabilityZone | string | |
DefaultOs | string | |
DefaultRootDeviceType | string | |
DefaultSshKeyName | string | |
DefaultSubnetId | string | |
EcsClusterArn | string | |
ElasticIps | Array<ElasticIp> | |
HostnameTheme | string | |
RdsDbInstances | Array<RdsDbInstance> | |
SourceStackId | string | Create-only |
Tags | Array<Tag> | |
UseCustomCookbooks | boolean | |
UseOpsworksSecurityGroups | boolean | |
VpcId | string | Create-only |
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::Stack
Resources:
MyResource:
Type: AWS::OpsWorks::Stack
Properties:
DefaultInstanceProfileArn: "arn:aws:service:region:account:resource"
ServiceRoleArn: "arn:aws:service:region:account:resource"
Name: "my-name"
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.
ServiceRoleArnCloneAppIdsClonePermissionsVpcIdSourceStackId