Class CfnApp.SourceProperty
Inheritance
Implements
Namespace: Amazon.CDK.AWS.OpsWorks
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SourceProperty : Object, CfnApp.ISourceProperty
Syntax (vb)
Public Class SourceProperty
Inherits Object
Implements CfnApp.ISourceProperty
Remarks
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
Constructors
Source |
Properties
Password | When included in a request, the parameter depends on the repository type. |
Revision | The application's version. |
Ssh |
In requests, the repository's SSH key. |
Type | The repository type. |
Url | The source URL. |
Username | This parameter depends on the repository type. |
Constructors
SourceProperty()
public SourceProperty()
Properties
Password
When included in a request, the parameter depends on the repository type.
public string Password { get; set; }
Property Value
System.
Remarks
Revision
The application's version.
public string Revision { get; set; }
Property Value
System.
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.
public string SshKey { get; set; }
Property Value
System.
Remarks
In responses, AWS OpsWorks Stacks returns FILTERED
instead of the actual value.
Type
The repository type.
public string Type { get; set; }
Property Value
System.
Remarks
Url
The source URL.
public string Url { get; set; }
Property Value
System.
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.
public string Username { get; set; }
Property Value
System.