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