class Aws::OpsWorks::Types::Stack

Describes a stack.

@!attribute [rw] stack_id

The stack ID.
@return [String]

@!attribute [rw] name

The stack name.
@return [String]

@!attribute [rw] arn

The stack's ARN.
@return [String]

@!attribute [rw] region

The stack AWS region, such as "ap-northeast-2". For more
information about AWS regions, see [Regions and Endpoints][1].

[1]: https://docs.aws.amazon.com/general/latest/gr/rande.html
@return [String]

@!attribute [rw] vpc_id

The VPC ID; applicable only if the stack is running in a VPC.
@return [String]

@!attribute [rw] attributes

The stack's attributes.
@return [Hash<String,String>]

@!attribute [rw] service_role_arn

The stack AWS Identity and Access Management (IAM) role.
@return [String]

@!attribute [rw] default_instance_profile_arn

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][1].

[1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html
@return [String]

@!attribute [rw] default_os

The stack's default operating system.
@return [String]

@!attribute [rw] hostname_theme

The stack host name theme, with spaces replaced by underscores.
@return [String]

@!attribute [rw] default_availability_zone

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

[1]: https://docs.aws.amazon.com/general/latest/gr/rande.html
@return [String]

@!attribute [rw] default_subnet_id

The default subnet ID; applicable only if the stack is running in a
VPC.
@return [String]

@!attribute [rw] custom_json

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:

`"\{"key1": "value1", "key2": "value2",...\}"`

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

[1]: https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-json.html
@return [String]

@!attribute [rw] configuration_manager

The configuration manager.
@return [Types::StackConfigurationManager]

@!attribute [rw] chef_configuration

A `ChefConfiguration` object that specifies whether to enable
Berkshelf and the Berkshelf version. For more information, see
[Create a New Stack][1].

[1]: https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-creating.html
@return [Types::ChefConfiguration]

@!attribute [rw] use_custom_cookbooks

Whether the stack uses custom cookbooks.
@return [Boolean]

@!attribute [rw] use_opsworks_security_groups

Whether the stack automatically associates the AWS OpsWorks Stacks
built-in security groups with the stack's layers.
@return [Boolean]

@!attribute [rw] custom_cookbooks_source

Contains the information required to retrieve an app or cookbook
from a repository. For more information, see [Adding Apps][1] or
[Cookbooks and Recipes][2].

[1]: https://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-creating.html
[2]: https://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook.html
@return [Types::Source]

@!attribute [rw] default_ssh_key_name

A default Amazon EC2 key pair for the stack's instances. You can
override this value when you create or update an instance.
@return [String]

@!attribute [rw] created_at

The date when the stack was created.
@return [String]

@!attribute [rw] default_root_device_type

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][1].

[1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ComponentsAMIs.html#storage-for-the-root-device
@return [String]

@!attribute [rw] agent_version

The agent version. This parameter is set to `LATEST` for
auto-update. or a version number for a fixed agent version.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/Stack AWS API Documentation

Constants

SENSITIVE