[][src]Struct rusoto_opsworks::DeploymentCommand

pub struct DeploymentCommand {
    pub args: Option<HashMap<String, Vec<String>>>,
    pub name: String,
}

Used to specify a stack or deployment command.

Fields

args: Option<HashMap<String, Vec<String>>>

The arguments of those commands that take arguments. It should be set to a JSON object with the following format:

{"arg_name1" : ["value1", "value2", ...], "arg_name2" : ["value1", "value2", ...], ...}

The update_dependencies command takes two arguments:

For example, to upgrade an instance to Amazon Linux 2016.09, set Args to the following.

{ "upgrade_os_to":["Amazon Linux 2016.09"], "allow_reboot":["true"] }

name: String

Specifies the operation. You can specify only one command.

For stacks, the following commands are available:

The updatedependencies and install_dependencies commands are supported only for Linux instances. You can run the commands successfully on Windows instances, but they do nothing.

For apps, the following commands are available:

Trait Implementations

impl PartialEq<DeploymentCommand> for DeploymentCommand[src]

impl Default for DeploymentCommand[src]

impl Clone for DeploymentCommand[src]

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

Performs copy-assignment from source. Read more

impl Debug for DeploymentCommand[src]

impl Serialize for DeploymentCommand[src]

impl<'de> Deserialize<'de> for DeploymentCommand[src]

Auto Trait Implementations

impl Send for DeploymentCommand

impl Sync for DeploymentCommand

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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self