interface SourceProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.OpsWorks.CfnApp.SourceProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsopsworks#CfnApp_SourceProperty |
Java | software.amazon.awscdk.services.opsworks.CfnApp.SourceProperty |
Python | aws_cdk.aws_opsworks.CfnApp.SourceProperty |
TypeScript | aws-cdk-lib » aws_opsworks » CfnApp » SourceProperty |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_opsworks as opsworks } from 'aws-cdk-lib';
const sourceProperty: opsworks.CfnApp.SourceProperty = {
password: 'password',
revision: 'revision',
sshKey: 'sshKey',
type: 'type',
url: 'url',
username: 'username',
};
Properties
| Name | Type | Description |
|---|---|---|
| password? | string | When included in a request, the parameter depends on the repository type. |
| revision? | string | The application's version. |
| ssh | string | In requests, the repository's SSH key. |
| type? | string | The repository type. |
| url? | string | The source URL. |
| username? | string | This parameter depends on the repository type. |
password?
Type:
string
(optional)
When included in a request, the parameter depends on the repository type.
- For Amazon S3 bundles, set
Passwordto the appropriate IAM secret access key. - For HTTP bundles and Subversion repositories, set
Passwordto the password.
For more information on how to safely handle IAM credentials, see .
In responses, OpsWorks Stacks returns *****FILTERED***** instead of the actual value.
revision?
Type:
string
(optional)
The application's version.
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.
sshKey?
Type:
string
(optional)
In requests, the repository's SSH key.
In responses, OpsWorks Stacks returns *****FILTERED***** instead of the actual value.
type?
Type:
string
(optional)
The repository type.
url?
Type:
string
(optional)
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 .
username?
Type:
string
(optional)
This parameter depends on the repository type.
- For Amazon S3 bundles, set
Usernameto the appropriate IAM access key ID. - For HTTP bundles, Git repositories, and Subversion repositories, set
Usernameto the user name.

.NET
Go
Java
Python
TypeScript