Show / Hide Table of Contents

Class CfnApp.SourceProperty

Inheritance
object
CfnApp.SourceProperty
Implements
CfnApp.ISourceProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-app-source.html

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-app-source.html

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

string

Remarks

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

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

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-app-source.html#cfn-opsworks-app-source-password

    Revision

    The application's version.

    public string? Revision { get; set; }
    Property Value

    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.

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-app-source.html#cfn-opsworks-app-source-revision

    SshKey

    In requests, the repository's SSH key.

    public string? SshKey { get; set; }
    Property Value

    string

    Remarks

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

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-app-source.html#cfn-opsworks-app-source-sshkey

    Type

    The repository type.

    public string? Type { get; set; }
    Property Value

    string

    Remarks

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-app-source.html#cfn-opsworks-app-source-type

    Url

    The source URL.

    public string? Url { get; set; }
    Property Value

    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 .

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-app-source.html#cfn-opsworks-app-source-url

    Username

    This parameter depends on the repository type.

    public string? Username { get; set; }
    Property Value

    string

    Remarks

      See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-app-source.html#cfn-opsworks-app-source-username

      Implements

      CfnApp.ISourceProperty
      Back to top Generated by DocFX