Class: Stack

OpsWorks.Stack

new Stack()

Properties:
Name Type Description
AgentVersion String Required: No. The AWS OpsWorks agent version that you want to use. The agent communicates with the service and handles tasks such as initiating Chef runs in response to lifecycle events. For valid values, see the AgentVersion parameter for the CreateStack action in the AWS OpsWorks API Reference.Update requires: No interruption
Attributes Map Required: No. One or more user-defined key-value pairs to be added to the stack attributes bag.Update requires: No interruption
ChefConfiguration AWSOpsWorksChefConfigurationType Required: No. Describes the Chef configuration. For more information, see the CreateStack ChefConfiguration parameter in the AWS OpsWorks API Reference.NoteTo enable Berkshelf, you must select a Chef version in the ConfigurationManager property that supports Berkshelf.Update requires: No interruption
ConfigurationManager AWSOpsWorksStackConfigurationManagerType Required: No. Describes the configuration manager. When you create a stack, you use the configuration manager to specify the Chef version. For supported Chef versions, see the CreateStack ConfigurationManager parameter in the AWS OpsWorks API Reference.Update requires: No interruption
CustomCookbooksSource AWSOpsWorksSourceType Required: No. Contains the information required to retrieve a cookbook from a repository.Update requires: No interruption
CustomJson Object Required: No. A user-defined custom JSON object. The custom JSON is used to override the corresponding default stack configuration JSON values. For more information, see CreateStack in the AWS OpsWorks API Reference.ImportantAWS CloudFormation submits all JSON attributes as strings, including any Boolean or number attributes. If you have recipes that expect booleans or numbers, you must modify the recipes to accept strings and to interpret those strings as booleans or numbers.Update requires: No interruption
DefaultAvailabilityZone String Required: No. The stack's default Availability Zone, which must be in the specified region.Update requires: No interruption
DefaultInstanceProfileArn String Required: Yes. The Amazon Resource Name (ARN) of an IAM instance profile that is the default profile for all of the stack's Amazon EC2 instances.Update requires: No interruption
DefaultOs String Required: No. The stack's default operating system. For more information, see CreateStack in the AWS OpsWorks API Reference.Update requires: No interruption
DefaultRootDeviceType String Required: No. The default root device type. This value is used by default for all instances in the stack, but you can override it when you create an instance. For more information, see CreateStack in the AWS OpsWorks API Reference.Update requires: No interruption
DefaultSshKeyName String Required: No. A default SSH key for the stack instances. You can override this value when you create or update an instance.Update requires: No interruption
DefaultSubnetId String Required: Conditional. The stack's default subnet ID. All instances are launched into this subnet unless you specify another subnet ID when you create the instance.Update requires: No interruption
HostnameTheme String Required: No. The stack's host name theme, with spaces replaced by underscores. The theme is used to generate host names for the stack's instances. For more information, see CreateStack in the AWS OpsWorks API Reference.Update requires: No interruption
Name String Required: Yes. The name of the AWS OpsWorks stack.Update requires: No interruption
ServiceRoleArn String Required: Yes. The AWS Identity and Access Management (IAM) role that AWS OpsWorks uses to work with AWS resources on your behalf. You must specify an Amazon Resource Name (ARN) for an existing IAM role.Update requires: Replacement
UseCustomCookbooks Boolean Required: No. Whether the stack uses custom cookbooks.Update requires: No interruption
UseOpsworksSecurityGroups Boolean Required: No. Whether to associate the AWS OpsWorks built-in security groups with the stack's layers.Update requires: No interruption
VpcId String Required: No. The ID of the VPC that the stack is to be launched into, which must be in the specified region. All instances are launched into this VPC. If you specify this property, you must specify the DefaultSubnetId property.Update requires: Replacement
Source:

Extends

  • WKResource

OpsWorks.Stack

new Stack()

Properties:
Name Type Description
AgentVersion String Required: No. The AWS OpsWorks agent version that you want to use. The agent communicates with the service and handles tasks such as initiating Chef runs in response to lifecycle events. For valid values, see the AgentVersion parameter for the CreateStack action in the AWS OpsWorks API Reference.Update requires: No interruption
Attributes Map Required: No. One or more user-defined key-value pairs to be added to the stack attributes bag.Update requires: No interruption
ChefConfiguration AWSOpsWorksChefConfigurationType Required: No. Describes the Chef configuration. For more information, see the CreateStack ChefConfiguration parameter in the AWS OpsWorks API Reference.NoteTo enable Berkshelf, you must select a Chef version in the ConfigurationManager property that supports Berkshelf.Update requires: No interruption
ConfigurationManager AWSOpsWorksStackConfigurationManagerType Required: No. Describes the configuration manager. When you create a stack, you use the configuration manager to specify the Chef version. For supported Chef versions, see the CreateStack ConfigurationManager parameter in the AWS OpsWorks API Reference.Update requires: No interruption
CustomCookbooksSource AWSOpsWorksSourceType Required: No. Contains the information required to retrieve a cookbook from a repository.Update requires: No interruption
CustomJson Object Required: No. A user-defined custom JSON object. The custom JSON is used to override the corresponding default stack configuration JSON values. For more information, see CreateStack in the AWS OpsWorks API Reference.ImportantAWS CloudFormation submits all JSON attributes as strings, including any Boolean or number attributes. If you have recipes that expect booleans or numbers, you must modify the recipes to accept strings and to interpret those strings as booleans or numbers.Update requires: No interruption
DefaultAvailabilityZone String Required: No. The stack's default Availability Zone, which must be in the specified region.Update requires: No interruption
DefaultInstanceProfileArn String Required: Yes. The Amazon Resource Name (ARN) of an IAM instance profile that is the default profile for all of the stack's Amazon EC2 instances.Update requires: No interruption
DefaultOs String Required: No. The stack's default operating system. For more information, see CreateStack in the AWS OpsWorks API Reference.Update requires: No interruption
DefaultRootDeviceType String Required: No. The default root device type. This value is used by default for all instances in the stack, but you can override it when you create an instance. For more information, see CreateStack in the AWS OpsWorks API Reference.Update requires: No interruption
DefaultSshKeyName String Required: No. A default SSH key for the stack instances. You can override this value when you create or update an instance.Update requires: No interruption
DefaultSubnetId String Required: Conditional. The stack's default subnet ID. All instances are launched into this subnet unless you specify another subnet ID when you create the instance.Update requires: No interruption
HostnameTheme String Required: No. The stack's host name theme, with spaces replaced by underscores. The theme is used to generate host names for the stack's instances. For more information, see CreateStack in the AWS OpsWorks API Reference.Update requires: No interruption
Name String Required: Yes. The name of the AWS OpsWorks stack.Update requires: No interruption
ServiceRoleArn String Required: Yes. The AWS Identity and Access Management (IAM) role that AWS OpsWorks uses to work with AWS resources on your behalf. You must specify an Amazon Resource Name (ARN) for an existing IAM role.Update requires: Replacement
UseCustomCookbooks Boolean Required: No. Whether the stack uses custom cookbooks.Update requires: No interruption
UseOpsworksSecurityGroups Boolean Required: No. Whether to associate the AWS OpsWorks built-in security groups with the stack's layers.Update requires: No interruption
VpcId String Required: No. The ID of the VPC that the stack is to be launched into, which must be in the specified region. All instances are launched into this VPC. If you specify this property, you must specify the DefaultSubnetId property.Update requires: Replacement
Source:

Extends

  • WKResource