public static interface CfnApp.SourceProperty
For more information, see Creating Apps or Custom Recipes and Cookbooks .
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.opsworks.*; SourceProperty sourceProperty = SourceProperty.builder() .password("password") .revision("revision") .sshKey("sshKey") .type("type") .url("url") .username("username") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnApp.SourceProperty.Builder
A builder for
CfnApp.SourceProperty |
static class |
CfnApp.SourceProperty.Jsii$Proxy
An implementation for
CfnApp.SourceProperty |
Modifier and Type | Method and Description |
---|---|
static CfnApp.SourceProperty.Builder |
builder() |
default java.lang.String |
getPassword()
When included in a request, the parameter depends on the repository type.
|
default java.lang.String |
getRevision()
The application's version.
|
default java.lang.String |
getSshKey()
In requests, the repository's SSH key.
|
default java.lang.String |
getType()
The repository type.
|
default java.lang.String |
getUrl()
The source URL.
|
default java.lang.String |
getUsername()
This parameter depends on the repository type.
|
default java.lang.String getPassword()
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.
default java.lang.String getRevision()
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.
default java.lang.String getSshKey()
In responses, AWS OpsWorks Stacks returns *****FILTERED*****
instead of the actual value.
default java.lang.String getType()
default java.lang.String getUrl()
The following is an example of an Amazon S3 source URL: https://s3.amazonaws.com/opsworks-demo-bucket/opsworks_cookbook_demo.tar.gz
.
default java.lang.String getUsername()
Username
to the appropriate IAM access key ID.Username
to the user name.static CfnApp.SourceProperty.Builder builder()
CfnApp.SourceProperty.Builder
of CfnApp.SourceProperty