#[non_exhaustive]
pub struct Builder { /* private fields */ }
Expand description

A builder for Stack

Implementations

The stack ID.

The stack ID.

The stack name.

The stack name.

The stack's ARN.

The stack's ARN.

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

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 VPC ID; applicable only if the stack is running in a VPC.

Adds a key-value pair to attributes.

To override the contents of this collection use set_attributes.

The stack's attributes.

The stack's attributes.

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

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 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's default operating system.

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

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

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

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.

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.

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.

The configuration manager.

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

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 uses custom cookbooks.

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

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.

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.

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

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

Consumes the builder and constructs a 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

Returns the “default value” for a type. 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

Performs the conversion.

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

Performs the conversion.

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