BucketDeploymentProps
Initializer
using AlibabaCloud.SDK.ROS.CDK.Ossdeployment;
new BucketDeploymentProps {
object DestinationBucket,
ISource[] Sources,
bool LogMonitoring = null,
bool RetainOnCreate = null,
object RoleArn = null,
double Timeout = null
};
Properties
| Name | Type | Description |
|---|---|---|
DestinationBucket |
object |
The OSS bucket to sync the contents of the zip file to. |
Sources |
ISource[] |
The sources from which to deploy the contents of this bucket. |
LogMonitoring |
bool |
Whether log monitoring is enabled. |
RetainOnCreate |
bool |
If this is set to false, the bucket temporarily storing the asset or data will be deleted after the asset or data is deployed to the destination bucket. |
RoleArn |
object |
The ARN of the execution role associated with this function. |
Timeout |
double |
The timeout period in seconds for the function to run. |
DestinationBucketRequired
public object DestinationBucket { get; set; }
- Type: object
The OSS bucket to sync the contents of the zip file to.
SourcesRequired
public ISource[] Sources { get; set; }
- Type: ISource[]
The sources from which to deploy the contents of this bucket.
LogMonitoringOptional
public bool LogMonitoring { get; set; }
- Type: bool
- Default: false
Whether log monitoring is enabled.
Enabling log monitoring allows you to record the details of your deployment, which makes it easier to troubleshoot when something goes wrong.
Enabling logging monitoring incurs an additional logging service fee.
RetainOnCreateOptional
public bool RetainOnCreate { get; set; }
- Type: bool
- Default: false
If this is set to false, the bucket temporarily storing the asset or data will be deleted after the asset or data is deployed to the destination bucket.
Otherwise, the temporary bucket will be deleted when the stack is destroyed.
RoleArnOptional
public object RoleArn { get; set; }
- Type: object
- Default: A role is automatically created
The ARN of the execution role associated with this function.
TimeoutOptional
public double Timeout { get; set; }
- Type: double
- Default: 60
The timeout period in seconds for the function to run.