You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::OpsWorks::Types::Stack

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Describes a stack.

Instance Attribute Summary collapse

Instance Attribute Details

#agent_versionString

The agent version. This parameter is set to LATEST for auto-update. or a version number for a fixed agent version.

Returns:

  • (String)

    The agent version.

#arnString

The stack\'s ARN.

Returns:

  • (String)

    The stack\'s ARN.

#attributesHash<String,String>

The stack\'s attributes.

Returns:

  • (Hash<String,String>)

    The stack\'s attributes.

#chef_configurationTypes::ChefConfiguration

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

Returns:

  • (Types::ChefConfiguration)

    A ChefConfiguration object that specifies whether to enable Berkshelf and the Berkshelf version.

#configuration_managerTypes::StackConfigurationManager

The configuration manager.

Returns:

#created_atString

The date when the stack was created.

Returns:

  • (String)

    The date when the stack was created.

#custom_cookbooks_sourceTypes::Source

Contains the information required to retrieve an app or cookbook from a repository. For more information, see Creating Apps or Custom Recipes and Cookbooks.

Returns:

  • (Types::Source)

    Contains the information required to retrieve an app or cookbook from a repository.

#custom_jsonString

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.

Returns:

  • (String)

    A JSON object that contains user-defined attributes to be added to the stack configuration and deployment attributes.

#default_availability_zoneString

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

Returns:

  • (String)

    The stack\'s default Availability Zone.

#default_instance_profile_arnString

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.

Returns:

  • (String)

    The ARN of an IAM profile that is the default profile for all of the stack\'s EC2 instances.

#default_osString

The stack\'s default operating system.

Returns:

  • (String)

    The stack\'s default operating system.

#default_root_device_typeString

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.

Returns:

  • (String)

    The default root device type.

#default_ssh_key_nameString

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

Returns:

  • (String)

    A default Amazon EC2 key pair for the stack\'s instances.

#default_subnet_idString

The default subnet ID; applicable only if the stack is running in a VPC.

Returns:

  • (String)

    The default subnet ID; applicable only if the stack is running in a VPC.

#hostname_themeString

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

Returns:

  • (String)

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

#nameString

The stack name.

Returns:

  • (String)

    The stack name.

#regionString

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

Returns:

  • (String)

    The stack AWS region, such as \"ap-northeast-2\".

#service_role_arnString

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

Returns:

  • (String)

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

#stack_idString

The stack ID.

Returns:

  • (String)

    The stack ID.

#use_custom_cookbooksBoolean

Whether the stack uses custom cookbooks.

Returns:

  • (Boolean)

    Whether the stack uses custom cookbooks.

#use_opsworks_security_groupsBoolean

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

Returns:

  • (Boolean)

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

#vpc_idString

The VPC ID; applicable only if the stack is running in a VPC.

Returns:

  • (String)

    The VPC ID; applicable only if the stack is running in a VPC.