Class CfnStack.SourceProperty.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class CfnStack.SourceProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnStack.SourceProperty
An implementation for CfnStack.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(CfnStack.SourceProperty.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnStack.SourceProperty.Builder.
  • Method Details

    • getPassword

      public final String getPassword()
      Description copied from interface: CfnStack.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 CfnStack.SourceProperty
    • getRevision

      public final String getRevision()
      Description copied from interface: CfnStack.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 CfnStack.SourceProperty
    • getSshKey

      public final String getSshKey()
      Description copied from interface: CfnStack.SourceProperty
      The repository's SSH key.

      For more information, see Using Git Repository SSH Keys in the AWS OpsWorks User Guide . To pass in an SSH key as a parameter, see the following example:

      "Parameters" : { "GitSSHKey" : { "Description" : "Change SSH key newlines to commas.", "Type" : "CommaDelimitedList", "NoEcho" : "true" }, ... "CustomCookbooksSource": { "Revision" : { "Ref": "GitRevision"}, "SshKey" : { "Fn::Join" : [ "\n", { "Ref": "GitSSHKey"} ] }, "Type": "git", "Url": { "Ref": "GitURL"} } ...

      Specified by:
      getSshKey in interface CfnStack.SourceProperty
    • getType

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

      public final String getUrl()
      Description copied from interface: CfnStack.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 CfnStack.SourceProperty
    • getUsername

      public final String getUsername()
      Description copied from interface: CfnStack.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 CfnStack.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