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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-opsworks/types.rb

Overview

Describes a stack.

Constant Summary collapse

SENSITIVE =
[]

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)


5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
# File 'lib/aws-sdk-opsworks/types.rb', line 5021

class Stack < Struct.new(
  :stack_id,
  :name,
  :arn,
  :region,
  :vpc_id,
  :attributes,
  :service_role_arn,
  :default_instance_profile_arn,
  :default_os,
  :hostname_theme,
  :default_availability_zone,
  :default_subnet_id,
  :custom_json,
  :configuration_manager,
  :chef_configuration,
  :use_custom_cookbooks,
  :use_opsworks_security_groups,
  :custom_cookbooks_source,
  :default_ssh_key_name,
  :created_at,
  :default_root_device_type,
  :agent_version)
  SENSITIVE = []
  include Aws::Structure
end

#arnString

The stack’s ARN.

Returns:

  • (String)


5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
# File 'lib/aws-sdk-opsworks/types.rb', line 5021

class Stack < Struct.new(
  :stack_id,
  :name,
  :arn,
  :region,
  :vpc_id,
  :attributes,
  :service_role_arn,
  :default_instance_profile_arn,
  :default_os,
  :hostname_theme,
  :default_availability_zone,
  :default_subnet_id,
  :custom_json,
  :configuration_manager,
  :chef_configuration,
  :use_custom_cookbooks,
  :use_opsworks_security_groups,
  :custom_cookbooks_source,
  :default_ssh_key_name,
  :created_at,
  :default_root_device_type,
  :agent_version)
  SENSITIVE = []
  include Aws::Structure
end

#attributesHash<String,String>

The stack’s attributes.

Returns:

  • (Hash<String,String>)


5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
# File 'lib/aws-sdk-opsworks/types.rb', line 5021

class Stack < Struct.new(
  :stack_id,
  :name,
  :arn,
  :region,
  :vpc_id,
  :attributes,
  :service_role_arn,
  :default_instance_profile_arn,
  :default_os,
  :hostname_theme,
  :default_availability_zone,
  :default_subnet_id,
  :custom_json,
  :configuration_manager,
  :chef_configuration,
  :use_custom_cookbooks,
  :use_opsworks_security_groups,
  :custom_cookbooks_source,
  :default_ssh_key_name,
  :created_at,
  :default_root_device_type,
  :agent_version)
  SENSITIVE = []
  include Aws::Structure
end

#chef_configurationTypes::ChefConfiguration

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

[1]: docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-creating.html



5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
# File 'lib/aws-sdk-opsworks/types.rb', line 5021

class Stack < Struct.new(
  :stack_id,
  :name,
  :arn,
  :region,
  :vpc_id,
  :attributes,
  :service_role_arn,
  :default_instance_profile_arn,
  :default_os,
  :hostname_theme,
  :default_availability_zone,
  :default_subnet_id,
  :custom_json,
  :configuration_manager,
  :chef_configuration,
  :use_custom_cookbooks,
  :use_opsworks_security_groups,
  :custom_cookbooks_source,
  :default_ssh_key_name,
  :created_at,
  :default_root_device_type,
  :agent_version)
  SENSITIVE = []
  include Aws::Structure
end

#configuration_managerTypes::StackConfigurationManager

The configuration manager.



5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
# File 'lib/aws-sdk-opsworks/types.rb', line 5021

class Stack < Struct.new(
  :stack_id,
  :name,
  :arn,
  :region,
  :vpc_id,
  :attributes,
  :service_role_arn,
  :default_instance_profile_arn,
  :default_os,
  :hostname_theme,
  :default_availability_zone,
  :default_subnet_id,
  :custom_json,
  :configuration_manager,
  :chef_configuration,
  :use_custom_cookbooks,
  :use_opsworks_security_groups,
  :custom_cookbooks_source,
  :default_ssh_key_name,
  :created_at,
  :default_root_device_type,
  :agent_version)
  SENSITIVE = []
  include Aws::Structure
end

#created_atString

The date when the stack was created.

Returns:

  • (String)


5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
# File 'lib/aws-sdk-opsworks/types.rb', line 5021

class Stack < Struct.new(
  :stack_id,
  :name,
  :arn,
  :region,
  :vpc_id,
  :attributes,
  :service_role_arn,
  :default_instance_profile_arn,
  :default_os,
  :hostname_theme,
  :default_availability_zone,
  :default_subnet_id,
  :custom_json,
  :configuration_manager,
  :chef_configuration,
  :use_custom_cookbooks,
  :use_opsworks_security_groups,
  :custom_cookbooks_source,
  :default_ssh_key_name,
  :created_at,
  :default_root_device_type,
  :agent_version)
  SENSITIVE = []
  include Aws::Structure
end

#custom_cookbooks_sourceTypes::Source

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

[1]: docs.aws.amazon.com/opsworks/latest/userguide/workingapps-creating.html [2]: docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook.html

Returns:



5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
# File 'lib/aws-sdk-opsworks/types.rb', line 5021

class Stack < Struct.new(
  :stack_id,
  :name,
  :arn,
  :region,
  :vpc_id,
  :attributes,
  :service_role_arn,
  :default_instance_profile_arn,
  :default_os,
  :hostname_theme,
  :default_availability_zone,
  :default_subnet_id,
  :custom_json,
  :configuration_manager,
  :chef_configuration,
  :use_custom_cookbooks,
  :use_opsworks_security_groups,
  :custom_cookbooks_source,
  :default_ssh_key_name,
  :created_at,
  :default_root_device_type,
  :agent_version)
  SENSITIVE = []
  include Aws::Structure
end

#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:

‘“”value1“, ”key2“: ”value2“,…”`

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

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

Returns:

  • (String)


5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
# File 'lib/aws-sdk-opsworks/types.rb', line 5021

class Stack < Struct.new(
  :stack_id,
  :name,
  :arn,
  :region,
  :vpc_id,
  :attributes,
  :service_role_arn,
  :default_instance_profile_arn,
  :default_os,
  :hostname_theme,
  :default_availability_zone,
  :default_subnet_id,
  :custom_json,
  :configuration_manager,
  :chef_configuration,
  :use_custom_cookbooks,
  :use_opsworks_security_groups,
  :custom_cookbooks_source,
  :default_ssh_key_name,
  :created_at,
  :default_root_device_type,
  :agent_version)
  SENSITIVE = []
  include Aws::Structure
end

#default_availability_zoneString

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

[1]: docs.aws.amazon.com/general/latest/gr/rande.html

Returns:

  • (String)


5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
# File 'lib/aws-sdk-opsworks/types.rb', line 5021

class Stack < Struct.new(
  :stack_id,
  :name,
  :arn,
  :region,
  :vpc_id,
  :attributes,
  :service_role_arn,
  :default_instance_profile_arn,
  :default_os,
  :hostname_theme,
  :default_availability_zone,
  :default_subnet_id,
  :custom_json,
  :configuration_manager,
  :chef_configuration,
  :use_custom_cookbooks,
  :use_opsworks_security_groups,
  :custom_cookbooks_source,
  :default_ssh_key_name,
  :created_at,
  :default_root_device_type,
  :agent_version)
  SENSITIVE = []
  include Aws::Structure
end

#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].

[1]: docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html

Returns:

  • (String)


5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
# File 'lib/aws-sdk-opsworks/types.rb', line 5021

class Stack < Struct.new(
  :stack_id,
  :name,
  :arn,
  :region,
  :vpc_id,
  :attributes,
  :service_role_arn,
  :default_instance_profile_arn,
  :default_os,
  :hostname_theme,
  :default_availability_zone,
  :default_subnet_id,
  :custom_json,
  :configuration_manager,
  :chef_configuration,
  :use_custom_cookbooks,
  :use_opsworks_security_groups,
  :custom_cookbooks_source,
  :default_ssh_key_name,
  :created_at,
  :default_root_device_type,
  :agent_version)
  SENSITIVE = []
  include Aws::Structure
end

#default_osString

The stack’s default operating system.

Returns:

  • (String)


5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
# File 'lib/aws-sdk-opsworks/types.rb', line 5021

class Stack < Struct.new(
  :stack_id,
  :name,
  :arn,
  :region,
  :vpc_id,
  :attributes,
  :service_role_arn,
  :default_instance_profile_arn,
  :default_os,
  :hostname_theme,
  :default_availability_zone,
  :default_subnet_id,
  :custom_json,
  :configuration_manager,
  :chef_configuration,
  :use_custom_cookbooks,
  :use_opsworks_security_groups,
  :custom_cookbooks_source,
  :default_ssh_key_name,
  :created_at,
  :default_root_device_type,
  :agent_version)
  SENSITIVE = []
  include Aws::Structure
end

#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].

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

Returns:

  • (String)


5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
# File 'lib/aws-sdk-opsworks/types.rb', line 5021

class Stack < Struct.new(
  :stack_id,
  :name,
  :arn,
  :region,
  :vpc_id,
  :attributes,
  :service_role_arn,
  :default_instance_profile_arn,
  :default_os,
  :hostname_theme,
  :default_availability_zone,
  :default_subnet_id,
  :custom_json,
  :configuration_manager,
  :chef_configuration,
  :use_custom_cookbooks,
  :use_opsworks_security_groups,
  :custom_cookbooks_source,
  :default_ssh_key_name,
  :created_at,
  :default_root_device_type,
  :agent_version)
  SENSITIVE = []
  include Aws::Structure
end

#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)


5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
# File 'lib/aws-sdk-opsworks/types.rb', line 5021

class Stack < Struct.new(
  :stack_id,
  :name,
  :arn,
  :region,
  :vpc_id,
  :attributes,
  :service_role_arn,
  :default_instance_profile_arn,
  :default_os,
  :hostname_theme,
  :default_availability_zone,
  :default_subnet_id,
  :custom_json,
  :configuration_manager,
  :chef_configuration,
  :use_custom_cookbooks,
  :use_opsworks_security_groups,
  :custom_cookbooks_source,
  :default_ssh_key_name,
  :created_at,
  :default_root_device_type,
  :agent_version)
  SENSITIVE = []
  include Aws::Structure
end

#default_subnet_idString

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

Returns:

  • (String)


5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
# File 'lib/aws-sdk-opsworks/types.rb', line 5021

class Stack < Struct.new(
  :stack_id,
  :name,
  :arn,
  :region,
  :vpc_id,
  :attributes,
  :service_role_arn,
  :default_instance_profile_arn,
  :default_os,
  :hostname_theme,
  :default_availability_zone,
  :default_subnet_id,
  :custom_json,
  :configuration_manager,
  :chef_configuration,
  :use_custom_cookbooks,
  :use_opsworks_security_groups,
  :custom_cookbooks_source,
  :default_ssh_key_name,
  :created_at,
  :default_root_device_type,
  :agent_version)
  SENSITIVE = []
  include Aws::Structure
end

#hostname_themeString

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

Returns:

  • (String)


5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
# File 'lib/aws-sdk-opsworks/types.rb', line 5021

class Stack < Struct.new(
  :stack_id,
  :name,
  :arn,
  :region,
  :vpc_id,
  :attributes,
  :service_role_arn,
  :default_instance_profile_arn,
  :default_os,
  :hostname_theme,
  :default_availability_zone,
  :default_subnet_id,
  :custom_json,
  :configuration_manager,
  :chef_configuration,
  :use_custom_cookbooks,
  :use_opsworks_security_groups,
  :custom_cookbooks_source,
  :default_ssh_key_name,
  :created_at,
  :default_root_device_type,
  :agent_version)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The stack name. Stack names can be a maximum of 64 characters.

Returns:

  • (String)


5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
# File 'lib/aws-sdk-opsworks/types.rb', line 5021

class Stack < Struct.new(
  :stack_id,
  :name,
  :arn,
  :region,
  :vpc_id,
  :attributes,
  :service_role_arn,
  :default_instance_profile_arn,
  :default_os,
  :hostname_theme,
  :default_availability_zone,
  :default_subnet_id,
  :custom_json,
  :configuration_manager,
  :chef_configuration,
  :use_custom_cookbooks,
  :use_opsworks_security_groups,
  :custom_cookbooks_source,
  :default_ssh_key_name,
  :created_at,
  :default_root_device_type,
  :agent_version)
  SENSITIVE = []
  include Aws::Structure
end

#regionString

The stack Amazon Web Services Region, such as ‘ap-northeast-2`. For more information about Amazon Web Services Regions, see [Regions and Endpoints].

[1]: docs.aws.amazon.com/general/latest/gr/rande.html

Returns:

  • (String)


5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
# File 'lib/aws-sdk-opsworks/types.rb', line 5021

class Stack < Struct.new(
  :stack_id,
  :name,
  :arn,
  :region,
  :vpc_id,
  :attributes,
  :service_role_arn,
  :default_instance_profile_arn,
  :default_os,
  :hostname_theme,
  :default_availability_zone,
  :default_subnet_id,
  :custom_json,
  :configuration_manager,
  :chef_configuration,
  :use_custom_cookbooks,
  :use_opsworks_security_groups,
  :custom_cookbooks_source,
  :default_ssh_key_name,
  :created_at,
  :default_root_device_type,
  :agent_version)
  SENSITIVE = []
  include Aws::Structure
end

#service_role_arnString

The stack Identity and Access Management (IAM) role.

Returns:

  • (String)


5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
# File 'lib/aws-sdk-opsworks/types.rb', line 5021

class Stack < Struct.new(
  :stack_id,
  :name,
  :arn,
  :region,
  :vpc_id,
  :attributes,
  :service_role_arn,
  :default_instance_profile_arn,
  :default_os,
  :hostname_theme,
  :default_availability_zone,
  :default_subnet_id,
  :custom_json,
  :configuration_manager,
  :chef_configuration,
  :use_custom_cookbooks,
  :use_opsworks_security_groups,
  :custom_cookbooks_source,
  :default_ssh_key_name,
  :created_at,
  :default_root_device_type,
  :agent_version)
  SENSITIVE = []
  include Aws::Structure
end

#stack_idString

The stack ID.

Returns:

  • (String)


5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
# File 'lib/aws-sdk-opsworks/types.rb', line 5021

class Stack < Struct.new(
  :stack_id,
  :name,
  :arn,
  :region,
  :vpc_id,
  :attributes,
  :service_role_arn,
  :default_instance_profile_arn,
  :default_os,
  :hostname_theme,
  :default_availability_zone,
  :default_subnet_id,
  :custom_json,
  :configuration_manager,
  :chef_configuration,
  :use_custom_cookbooks,
  :use_opsworks_security_groups,
  :custom_cookbooks_source,
  :default_ssh_key_name,
  :created_at,
  :default_root_device_type,
  :agent_version)
  SENSITIVE = []
  include Aws::Structure
end

#use_custom_cookbooksBoolean

Whether the stack uses custom cookbooks.

Returns:

  • (Boolean)


5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
# File 'lib/aws-sdk-opsworks/types.rb', line 5021

class Stack < Struct.new(
  :stack_id,
  :name,
  :arn,
  :region,
  :vpc_id,
  :attributes,
  :service_role_arn,
  :default_instance_profile_arn,
  :default_os,
  :hostname_theme,
  :default_availability_zone,
  :default_subnet_id,
  :custom_json,
  :configuration_manager,
  :chef_configuration,
  :use_custom_cookbooks,
  :use_opsworks_security_groups,
  :custom_cookbooks_source,
  :default_ssh_key_name,
  :created_at,
  :default_root_device_type,
  :agent_version)
  SENSITIVE = []
  include Aws::Structure
end

#use_opsworks_security_groupsBoolean

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

Returns:

  • (Boolean)


5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
# File 'lib/aws-sdk-opsworks/types.rb', line 5021

class Stack < Struct.new(
  :stack_id,
  :name,
  :arn,
  :region,
  :vpc_id,
  :attributes,
  :service_role_arn,
  :default_instance_profile_arn,
  :default_os,
  :hostname_theme,
  :default_availability_zone,
  :default_subnet_id,
  :custom_json,
  :configuration_manager,
  :chef_configuration,
  :use_custom_cookbooks,
  :use_opsworks_security_groups,
  :custom_cookbooks_source,
  :default_ssh_key_name,
  :created_at,
  :default_root_device_type,
  :agent_version)
  SENSITIVE = []
  include Aws::Structure
end

#vpc_idString

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

Returns:

  • (String)


5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
# File 'lib/aws-sdk-opsworks/types.rb', line 5021

class Stack < Struct.new(
  :stack_id,
  :name,
  :arn,
  :region,
  :vpc_id,
  :attributes,
  :service_role_arn,
  :default_instance_profile_arn,
  :default_os,
  :hostname_theme,
  :default_availability_zone,
  :default_subnet_id,
  :custom_json,
  :configuration_manager,
  :chef_configuration,
  :use_custom_cookbooks,
  :use_opsworks_security_groups,
  :custom_cookbooks_source,
  :default_ssh_key_name,
  :created_at,
  :default_root_device_type,
  :agent_version)
  SENSITIVE = []
  include Aws::Structure
end