Interface CfnApp.ISourceProperty
Contains the information required to retrieve an app or cookbook from a repository.
Namespace: Amazon.CDK.AWS.OpsWorks
Assembly: Amazon.CDK.AWS.OpsWorks.dll
Syntax (csharp)
public interface ISourceProperty
Syntax (vb)
Public Interface ISourceProperty
Remarks
For more information, see Creating Apps or Custom Recipes and Cookbooks .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.OpsWorks;
var sourceProperty = new SourceProperty {
Password = "password",
Revision = "revision",
SshKey = "sshKey",
Type = "type",
Url = "url",
Username = "username"
};
Synopsis
Properties
Password | When included in a request, the parameter depends on the repository type. |
Revision | The application's version. |
SshKey | In requests, the repository's SSH key. |
Type | The repository type. |
Url | The source URL. |
Username | This parameter depends on the repository type. |
Properties
Password
When included in a request, the parameter depends on the repository type.
virtual string Password { get; }
Property Value
System.String
Remarks
Revision
The application's version.
virtual string Revision { get; }
Property Value
System.String
Remarks
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.
SshKey
In requests, the repository's SSH key.
virtual string SshKey { get; }
Property Value
System.String
Remarks
In responses, AWS OpsWorks Stacks returns FILTERED
instead of the actual value.
Type
The repository type.
virtual string Type { get; }
Property Value
System.String
Remarks
Url
The source URL.
virtual string Url { get; }
Property Value
System.String
Remarks
The following is an example of an Amazon S3 source URL: https://s3.amazonaws.com/opsworks-demo-bucket/opsworks_cookbook_demo.tar.gz
.
Username
This parameter depends on the repository type.
virtual string Username { get; }
Property Value
System.String