Interface CfnApp.SourceProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApp.SourceProperty.Jsii$Proxy
- Enclosing class:
CfnApp
@Stability(Stable)
public static interface CfnApp.SourceProperty
extends software.amazon.jsii.JsiiSerializable
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();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnApp.SourceProperty
static final class
An implementation forCfnApp.SourceProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
When included in a request, the parameter depends on the repository type.default String
The application's version.default String
In requests, the repository's SSH key.default String
getType()
The repository type.default String
getUrl()
The source URL.default String
This parameter depends on the repository type.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPassword
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.- See Also:
- For Amazon S3 bundles, set
-
getRevision
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.
- See Also:
-
getSshKey
In requests, the repository's SSH key.In responses, AWS OpsWorks Stacks returns
*****FILTERED*****
instead of the actual value.- See Also:
-
getType
The repository type.- See Also:
-
getUrl
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
.- See Also:
-
getUsername
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.
- See Also:
- For Amazon S3 bundles, set
-
builder
- Returns:
- a
CfnApp.SourceProperty.Builder
ofCfnApp.SourceProperty
-