AWS SDK for .NET Documentation
Stack Class
AmazonAmazon.OpsWorks.ModelStack Did this page help you?   Yes   No    Tell us about it...
Describes a stack.
Declaration Syntax
C#
public class Stack
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
Stack()()()()
Initializes a new instance of the Stack class

Arn
Gets and sets the property Arn.

The stack's ARN.


Attributes
Gets and sets the property Attributes.

The stack's attributes.


ChefConfiguration
Gets and sets the property ChefConfiguration.

A

CopyC#
ChefConfiguration
object that specifies whether to enable Berkshelf and the Berkshelf version. For more information, see Create a New Stack.


ConfigurationManager
Gets and sets the property ConfigurationManager.

The configuration manager.


CreatedAt
Gets and sets the property CreatedAt.

Date when the stack was created.


CustomCookbooksSource
Gets and sets the property CustomCookbooksSource.

CustomJson
Gets and sets the property CustomJson.

A string that contains user-defined, custom JSON. It is used to override the corresponding default stack configuration JSON values.The string should be in the following format and must escape characters such as '"'.:

CopyC#
"{\"key1\": \"value1\", \"key2\": \"value2\",...}"

For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration JSON.


DefaultAvailabilityZone
Gets and sets the property DefaultAvailabilityZone.

The stack's default Availability Zone. For more information, see Regions and Endpoints.


DefaultInstanceProfileArn
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
Gets and sets the property DefaultOs.

The stack's default operating system, which must be set to

CopyC#
Amazon Linux
or
CopyC#
Ubuntu 12.04 LTS
. The default option is
CopyC#
Amazon Linux
.


DefaultRootDeviceType
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
Gets and sets the property DefaultSshKeyName.

A default SSH key for the stack's instances. You can override this value when you create or update an instance.


DefaultSubnetId
Gets and sets the property DefaultSubnetId.

The default subnet ID, if the stack is running in a VPC.


Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
HostnameTheme
Gets and sets the property HostnameTheme.

The stack host name theme, with spaces replaced by underscores.


Name
Gets and sets the property Name.

The stack name.


Region
Gets and sets the property Region.

The stack AWS region, such as "us-east-1". For more information about AWS regions, see Regions and Endpoints.


ServiceRoleArn
Gets and sets the property ServiceRoleArn.

The stack AWS Identity and Access Management (IAM) role.


StackId
Gets and sets the property StackId.

The stack ID.


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
UseCustomCookbooks
Gets and sets the property UseCustomCookbooks.

Whether the stack uses custom cookbooks.


UseOpsworksSecurityGroups
Gets and sets the property UseOpsworksSecurityGroups.

Whether the stack automatically associates the AWS OpsWorks built-in security groups with the stack's layers.


VpcId
Gets and sets the property VpcId.

The VPC ID, if the stack is running in a VPC.


WithArn(String) Obsolete.
Sets the Arn property

WithAttributes(array<KeyValuePair<(Of <<'(String, String>)>>)>[]()[][]) Obsolete.
Adds the KeyValuePairs to the Attributes dictionary.

WithChefConfiguration(ChefConfiguration) Obsolete.
Sets the ChefConfiguration property

WithConfigurationManager(StackConfigurationManager) Obsolete.
Sets the ConfigurationManager property

WithCreatedAt(String) Obsolete.
Sets the CreatedAt property

WithCustomCookbooksSource(Source) Obsolete.
Sets the CustomCookbooksSource property

WithCustomJson(String) Obsolete.
Sets the CustomJson property

WithDefaultAvailabilityZone(String) Obsolete.
Sets the DefaultAvailabilityZone property

WithDefaultInstanceProfileArn(String) Obsolete.
Sets the DefaultInstanceProfileArn property

WithDefaultOs(String) Obsolete.
Sets the DefaultOs property

WithDefaultRootDeviceType(String) Obsolete.
Sets the DefaultRootDeviceType property

WithDefaultSshKeyName(String) Obsolete.
Sets the DefaultSshKeyName property

WithDefaultSubnetId(String) Obsolete.
Sets the DefaultSubnetId property

WithHostnameTheme(String) Obsolete.
Sets the HostnameTheme property

WithName(String) Obsolete.
Sets the Name property

WithRegion(String) Obsolete.
Sets the Region property

WithServiceRoleArn(String) Obsolete.
Sets the ServiceRoleArn property

WithStackId(String) Obsolete.
Sets the StackId property

WithUseCustomCookbooks(Boolean) Obsolete.
Sets the UseCustomCookbooks property

WithUseOpsworksSecurityGroups(Boolean) Obsolete.
Sets the UseOpsworksSecurityGroups property

WithVpcId(String) Obsolete.
Sets the VpcId property

Inheritance Hierarchy
Object
Stack

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)