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

Describes a stack.

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
stack_id: Option<String>

The stack ID.

name: Option<String>

The stack name.

arn: Option<String>

The stack's ARN.

region: Option<String>

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

vpc_id: Option<String>

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

attributes: Option<HashMap<StackAttributesKeys, String>>

The stack's attributes.

service_role_arn: Option<String>

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

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.

hostname_theme: Option<String>

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

default_availability_zone: Option<String>

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

default_subnet_id: Option<String>

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

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.

configuration_manager: Option<StackConfigurationManager>

The configuration manager.

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.

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.

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.

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.

created_at: Option<String>

The date when the stack was created.

default_root_device_type: Option<RootDeviceType>

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.

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.

Implementations

The stack ID.

The stack name.

The stack's ARN.

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

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

The stack's attributes.

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

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.

The stack's default operating system.

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

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

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

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.

The configuration manager.

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

Whether the stack uses custom cookbooks.

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

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

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

The date when the stack was created.

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.

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

Creates a new builder-style object to manufacture Stack

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

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.

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