SourceConfig
Source information.
Initializer
import com.aliyun.ros.cdk.ossdeployment.SourceConfig;
SourceConfig.builder()
.bucket(java.lang.String)
.bucket(IResolvable)
.objectKey(java.lang.String)
.objectKey(IResolvable)
// .fileName(java.lang.String)
.build();
Properties
| Name | Type | Description |
|---|---|---|
bucket | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | The name of source bucket to deploy from. |
objectKey | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | An object key in the source bucket to deploy from. |
fileName | java.lang.String | The name of source local file to deploy from. |
bucketRequired
public java.lang.Object getBucket();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
The name of source bucket to deploy from.
objectKeyRequired
public java.lang.Object getObjectKey();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
An object key in the source bucket to deploy from.
fileNameOptional
public java.lang.String getFileName();
- Type: java.lang.String
The name of source local file to deploy from.