AWS SDK for .NET Documentation
Source Class
AmazonAmazon.OpsWorks.ModelSource Did this page help you?   Yes   No    Tell us about it...
Contains the information required to retrieve an app or cookbook from a repository. For more information, see Creating Apps or Custom Recipes and Cookbooks.
Declaration Syntax
C#
public class Source
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
Source()()()()
Initializes a new instance of the Source class

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
Password
Gets and sets the property Password.

This parameter depends on the repository type.

  • For Amazon S3 bundles, set
    CopyC#
    Password
    to the appropriate IAM secret access key.
  • For HTTP bundles and Subversion repositories, set
    CopyC#
    Password
    to the password.

For more information on how to safely handle IAM credentials, see .


Revision
Gets and sets the property Revision.

The application's version. AWS OpsWorks 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.


SshKey
Gets and sets the property SshKey.

The repository's SSH key.


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Type
Gets and sets the property Type.

The repository type.


Url
Gets and sets the property Url.

The source URL.


Username
Gets and sets the property Username.

This parameter depends on the repository type.

  • For Amazon S3 bundles, set
    CopyC#
    Username
    to the appropriate IAM access key ID.
  • For HTTP bundles, Git repositories, and Subversion repositories, set
    CopyC#
    Username
    to the user name.

WithPassword(String) Obsolete.
Sets the Password property

WithRevision(String) Obsolete.
Sets the Revision property

WithSshKey(String) Obsolete.
Sets the SshKey property

WithType(String) Obsolete.
Sets the Type property

WithUrl(String) Obsolete.
Sets the Url property

WithUsername(String) Obsolete.
Sets the Username property

Inheritance Hierarchy
Object
Source

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)