AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Describes a stack.
Namespace: Amazon.OpsWorks.Model
Assembly: AWSSDK.OpsWorks.dll
Version: 3.x.y.z
public class Stack
The Stack type exposes the following members
Name | Description | |
---|---|---|
Stack() |
Name | Type | Description | |
---|---|---|---|
AgentVersion | System.String |
Gets and sets the property AgentVersion.
The agent version. This parameter is set to |
|
Arn | System.String |
Gets and sets the property Arn. The stack's ARN. |
|
Attributes | System.Collections.Generic.Dictionary<System.String, System.String> |
Gets and sets the property Attributes. The stack's attributes. |
|
ChefConfiguration | Amazon.OpsWorks.Model.ChefConfiguration |
Gets and sets the property ChefConfiguration.
A |
|
ConfigurationManager | Amazon.OpsWorks.Model.StackConfigurationManager |
Gets and sets the property ConfigurationManager. The configuration manager. |
|
CreatedAt | System.String |
Gets and sets the property CreatedAt. The date when the stack was created. |
|
CustomCookbooksSource | Amazon.OpsWorks.Model.Source |
Gets and sets the property CustomCookbooksSource. Contains the information required to retrieve an app or cookbook from a repository. For more information, see Adding Apps or Cookbooks and Recipes. |
|
CustomJson | System.String |
Gets and sets the property CustomJson. A JSON object that contains user-defined attributes to be added to the stack configuration and deployment attributes. You can use custom JSON to override the corresponding default stack configuration attribute values or to pass data to recipes. The string should be in the following format:
For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes. |
|
DefaultAvailabilityZone | System.String |
Gets and sets the property DefaultAvailabilityZone. The stack's default Availability Zone. For more information, see Regions and Endpoints. |
|
DefaultInstanceProfileArn | System.String |
Gets and sets the property DefaultInstanceProfileArn. The ARN of an IAM profile that is the default profile for all of the stack's EC2 instances. For more information about IAM ARNs, see Using Identifiers. |
|
DefaultOs | System.String |
Gets and sets the property DefaultOs. The stack's default operating system. |
|
DefaultRootDeviceType | Amazon.OpsWorks.RootDeviceType |
Gets and sets the property DefaultRootDeviceType. 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 Storage for the Root Device. |
|
DefaultSshKeyName | System.String |
Gets and sets the property DefaultSshKeyName. A default Amazon EC2 key pair for the stack's instances. You can override this value when you create or update an instance. |
|
DefaultSubnetId | System.String |
Gets and sets the property DefaultSubnetId. The default subnet ID; applicable only if the stack is running in a VPC. |
|
HostnameTheme | System.String |
Gets and sets the property HostnameTheme. The stack host name theme, with spaces replaced by underscores. |
|
Name | System.String |
Gets and sets the property Name. The stack name. |
|
Region | System.String |
Gets and sets the property Region. The stack AWS region, such as "ap-northeast-2". For more information about AWS regions, see Regions and Endpoints. |
|
ServiceRoleArn | System.String |
Gets and sets the property ServiceRoleArn. The stack AWS Identity and Access Management (IAM) role. |
|
StackId | System.String |
Gets and sets the property StackId. The stack ID. |
|
UseCustomCookbooks | System.Boolean |
Gets and sets the property UseCustomCookbooks. Whether the stack uses custom cookbooks. |
|
UseOpsworksSecurityGroups | System.Boolean |
Gets and sets the property UseOpsworksSecurityGroups. Whether the stack automatically associates the AWS OpsWorks Stacks built-in security groups with the stack's layers. |
|
VpcId | System.String |
Gets and sets the property VpcId. The VPC ID; applicable only if the stack is running in a VPC. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5