Struct rusoto_opsworks::Source [] [src]

pub struct Source {
    pub password: Option<String>,
    pub revision: Option<String>,
    pub ssh_key: Option<String>,
    pub type_: Option<SourceType>,
    pub url: Option<String>,
    pub username: Option<String>,
}

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

Fields

When included in a request, the parameter depends on the repository type.

  • For Amazon S3 bundles, set Password to the appropriate IAM secret access key.

  • For HTTP bundles and Subversion repositories, set Password to the password.

For more information on how to safely handle IAM credentials, see http://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html.

In responses, AWS OpsWorks Stacks returns *****FILTERED***** instead of the actual value.

The application's version. AWS OpsWorks Stacks enables you to easily deploy new versions of an application. One of the simplest approaches is to have branches or revisions in your repository that represent different versions that can potentially be deployed.

In requests, the repository's SSH key.

In responses, AWS OpsWorks Stacks returns *****FILTERED***** instead of the actual value.

The repository type.

The source URL.

This parameter depends on the repository type.

  • For Amazon S3 bundles, set Username to the appropriate IAM access key ID.

  • For HTTP bundles, Git repositories, and Subversion repositories, set Username to the user name.

Trait Implementations

impl Default for Source
[src]

Returns the "default value" for a type. Read more

impl Debug for Source
[src]

Formats the value using the given formatter.

impl Clone for Source
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more