@Stability(value=Stable) @Internal public static final class CfnStack.SourceProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnStack.SourceProperty
CfnStack.SourcePropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnStack.SourceProperty.Builder, CfnStack.SourceProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnStack.SourceProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnStack.ChefConfigurationProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getPassword()
When included in a request, the parameter depends on the repository type.
|
String |
getRevision()
The application's version.
|
String |
getSshKey()
The repository's SSH key.
|
String |
getType()
The repository type.
|
String |
getUrl()
The source URL.
|
String |
getUsername()
This parameter depends on the repository type.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnStack.SourceProperty.Builder builder)
CfnStack.ChefConfigurationProperty.Builder.public final String getPassword()
CfnStack.SourceProperty
Password to the appropriate IAM secret access key.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.
getPassword in interface CfnStack.SourcePropertypublic final String getRevision()
CfnStack.SourcePropertyAWS 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.
getRevision in interface CfnStack.SourcePropertypublic final String getSshKey()
CfnStack.SourcePropertyFor 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"} } ...
getSshKey in interface CfnStack.SourcePropertypublic final String getType()
CfnStack.SourcePropertygetType in interface CfnStack.SourcePropertypublic final String getUrl()
CfnStack.SourceProperty
The following is an example of an Amazon S3 source URL: https://s3.amazonaws.com/opsworks-demo-bucket/opsworks_cookbook_demo.tar.gz .
getUrl in interface CfnStack.SourcePropertypublic final String getUsername()
CfnStack.SourceProperty
Username to the appropriate IAM access key ID.Username to the user name.getUsername in interface CfnStack.SourceProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.