[][src]Struct rusoto_opsworks::UpdateStackRequest

pub struct UpdateStackRequest {
    pub agent_version: Option<String>,
    pub attributes: Option<HashMap<String, String>>,
    pub chef_configuration: Option<ChefConfiguration>,
    pub configuration_manager: Option<StackConfigurationManager>,
    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 service_role_arn: Option<String>,
    pub stack_id: String,
    pub use_custom_cookbooks: Option<bool>,
    pub use_opsworks_security_groups: Option<bool>,
}

Fields

agent_version: Option<String>

The default AWS OpsWorks Stacks agent version. You have the following options:

The default setting is LATEST. To specify an agent version, you must use the complete version number, not the abbreviated number shown on the console. For a list of available agent version numbers, call DescribeAgentVersions. AgentVersion cannot be set to Chef 12.2.

You can also specify an agent version when you create or update an instance, which overrides the stack's default setting.

attributes: Option<HashMap<String, String>>

One or more user-defined key-value pairs to be added to the stack attributes.

chef_configuration: Option<ChefConfiguration>

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

configuration_manager: Option<StackConfigurationManager>

The configuration manager. When you update a stack, we recommend that you use the configuration manager to specify the Chef version: 12, 11.10, or 11.4 for Linux stacks, or 12.2 for Windows stacks. The default value for Linux stacks is currently 12.

custom_cookbooks_source: Option<Source>custom_json: Option<String>

A string that contains user-defined, custom JSON. It can be used to override the corresponding default stack configuration JSON values or to pass data to recipes. The string should be in the following format:

"{\"key1\": \"value1\", \"key2\": \"value2\",...}"

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

default_availability_zone: Option<String>

The stack's default Availability Zone, which must be in the stack's region. For more information, see Regions and Endpoints. If you also specify a value for DefaultSubnetId, the subnet must be in the same zone. For more information, see CreateStack.

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 operating system, which must be set to one of the following:

The default option is the stack's current operating system. For more information about supported operating systems, see AWS OpsWorks Stacks Operating Systems.

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 name. The default value is none. If you specify a key-pair name, AWS OpsWorks Stacks installs the public key on the instance and you can use the private key with an SSH client to log in to the instance. For more information, see Using SSH to Communicate with an Instance and Managing SSH Access. You can override this setting by specifying a different key pair, or no key pair, when you create an instance.

default_subnet_id: Option<String>

The stack's default VPC subnet ID. This parameter is required if you specify a value for the VpcId parameter. All instances are launched into this subnet unless you specify otherwise when you create the instance. If you also specify a value for DefaultAvailabilityZone, the subnet must be in that zone. For information on default values and when this parameter is required, see the VpcId parameter description.

hostname_theme: Option<String>

The stack's new host name theme, with spaces replaced by underscores. The theme is used to generate host names for the stack's instances. By default, HostnameTheme is set to Layer_Dependent, which creates host names by appending integers to the layer's short name. The other themes are:

To obtain a generated host name, call GetHostNameSuggestion, which returns a host name based on the current theme.

name: Option<String>

The stack's new name.

service_role_arn: Option<String>

Do not use this parameter. You cannot update a stack's service role.

stack_id: String

The stack ID.

use_custom_cookbooks: Option<bool>

Whether the stack uses custom cookbooks.

use_opsworks_security_groups: Option<bool>

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

AWS OpsWorks Stacks provides a standard set of built-in security groups, one for each layer, which are associated with layers by default. UseOpsworksSecurityGroups allows you to provide your own custom security groups instead of using the built-in groups. UseOpsworksSecurityGroups has the following settings:

For more information, see Create a New Stack.

Trait Implementations

impl PartialEq<UpdateStackRequest> for UpdateStackRequest[src]

impl Default for UpdateStackRequest[src]

impl Clone for UpdateStackRequest[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for UpdateStackRequest[src]

impl Serialize for UpdateStackRequest[src]

Auto Trait Implementations

impl Send for UpdateStackRequest

impl Sync for UpdateStackRequest

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

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

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

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

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self