@Stability(value=Stable) public static final class CfnStack.SourceProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnStack.SourceProperty>
CfnStack.SourceProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnStack.SourceProperty |
build()
Builds the configured instance.
|
CfnStack.SourceProperty.Builder |
password(String password)
Sets the value of
CfnStack.SourceProperty.getPassword() |
CfnStack.SourceProperty.Builder |
revision(String revision)
Sets the value of
CfnStack.SourceProperty.getRevision() |
CfnStack.SourceProperty.Builder |
sshKey(String sshKey)
Sets the value of
CfnStack.SourceProperty.getSshKey() |
CfnStack.SourceProperty.Builder |
type(String type)
Sets the value of
CfnStack.SourceProperty.getType() |
CfnStack.SourceProperty.Builder |
url(String url)
Sets the value of
CfnStack.SourceProperty.getUrl() |
CfnStack.SourceProperty.Builder |
username(String username)
Sets the value of
CfnStack.SourceProperty.getUsername() |
@Stability(value=Stable) public CfnStack.SourceProperty.Builder password(String password)
CfnStack.SourceProperty.getPassword()password - When included in a request, the parameter depends on the repository type.
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.
this@Stability(value=Stable) public CfnStack.SourceProperty.Builder revision(String revision)
CfnStack.SourceProperty.getRevision()revision - 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.this@Stability(value=Stable) public CfnStack.SourceProperty.Builder sshKey(String sshKey)
CfnStack.SourceProperty.getSshKey()sshKey - 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"} } ...
this@Stability(value=Stable) public CfnStack.SourceProperty.Builder type(String type)
CfnStack.SourceProperty.getType()type - The repository type.this@Stability(value=Stable) public CfnStack.SourceProperty.Builder url(String url)
CfnStack.SourceProperty.getUrl()url - 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 .this@Stability(value=Stable) public CfnStack.SourceProperty.Builder username(String username)
CfnStack.SourceProperty.getUsername()username - This parameter depends on the repository type.
Username to the appropriate IAM access key ID.Username to the user name.this@Stability(value=Stable) public CfnStack.SourceProperty build()
build in interface software.amazon.jsii.Builder<CfnStack.SourceProperty>CfnStack.SourcePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.