logo
pub struct Stack {
Show 22 fields pub agent_version: Option<String>, pub arn: Option<String>, pub attributes: Option<HashMap<String, String>>, pub chef_configuration: Option<ChefConfiguration>, pub configuration_manager: Option<StackConfigurationManager>, pub created_at: Option<String>, pub custom_cookbooks_source: Option<Source>, pub custom_json: Option<String>, pub default_availability_zone: Option<String>, pub default_instance_profile_arn: Option<String>, pub default_os: Option<String>, pub default_root_device_type: Option<String>, pub default_ssh_key_name: Option<String>, pub default_subnet_id: Option<String>, pub hostname_theme: Option<String>, pub name: Option<String>, pub region: Option<String>, pub service_role_arn: Option<String>, pub stack_id: Option<String>, pub use_custom_cookbooks: Option<bool>, pub use_opsworks_security_groups: Option<bool>, pub vpc_id: Option<String>,
}
Expand description

Describes a stack.

Fields

agent_version: Option<String>

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

arn: Option<String>

The stack's ARN.

attributes: Option<HashMap<String, String>>

The stack's attributes.

chef_configuration: Option<ChefConfiguration>

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

configuration_manager: Option<StackConfigurationManager>

The configuration manager.

created_at: Option<String>

The date when the stack was created.

custom_cookbooks_source: Option<Source>

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

custom_json: Option<String>

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.

default_availability_zone: Option<String>

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

default_instance_profile_arn: Option<String>

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.

default_os: Option<String>

The stack's default operating system.

default_root_device_type: Option<String>

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.

default_ssh_key_name: Option<String>

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

default_subnet_id: Option<String>

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

hostname_theme: Option<String>

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

name: Option<String>

The stack name.

region: Option<String>

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

service_role_arn: Option<String>

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

stack_id: Option<String>

The stack ID.

use_custom_cookbooks: Option<bool>

Whether the stack uses custom cookbooks.

use_opsworks_security_groups: Option<bool>

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

vpc_id: Option<String>

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

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more