Class CfnApp.SourceProperty.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.opsworks.CfnApp.SourceProperty.Jsii$Proxy
All Implemented Interfaces:
CfnApp.SourceProperty, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnApp.SourceProperty

@Stability(Stable) @Internal public static final class CfnApp.SourceProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnApp.SourceProperty
An implementation for CfnApp.SourceProperty
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(CfnApp.SourceProperty.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnApp.SourceProperty.Builder.
  • Method Details

    • getPassword

      public final String getPassword()
      Description copied from interface: CfnApp.SourceProperty
      When included in a request, the parameter depends on the repository type.

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

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

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

      Specified by:
      getPassword in interface CfnApp.SourceProperty
    • getRevision

      public final String getRevision()
      Description copied from interface: CfnApp.SourceProperty
      The application's version.

      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.

      Specified by:
      getRevision in interface CfnApp.SourceProperty
    • getSshKey

      public final String getSshKey()
      Description copied from interface: CfnApp.SourceProperty
      In requests, the repository's SSH key.

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

      Specified by:
      getSshKey in interface CfnApp.SourceProperty
    • getType

      public final String getType()
      Description copied from interface: CfnApp.SourceProperty
      The repository type.
      Specified by:
      getType in interface CfnApp.SourceProperty
    • getUrl

      public final String getUrl()
      Description copied from interface: CfnApp.SourceProperty
      The source URL.

      The following is an example of an Amazon S3 source URL: https://s3.amazonaws.com/opsworks-demo-bucket/opsworks_cookbook_demo.tar.gz .

      Specified by:
      getUrl in interface CfnApp.SourceProperty
    • getUsername

      public final String getUsername()
      Description copied from interface: CfnApp.SourceProperty
      This parameter depends on the repository type.

      • For Amazon S3 bundles, set Username to the appropriate IAM access key ID.
      • For HTTP bundles, Git repositories, and Subversion repositories, set Username to the user name.
      Specified by:
      getUsername in interface CfnApp.SourceProperty
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object