AbortIncompleteMultipartUploadProperty Struct
Specifies the days since the initiation of an incomplete multipart upload that Amazon S3 will wait before permanently removing all parts of the upload.
For more information, see Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Configuration in the Amazon S3 User Guide .
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3express as s3express } from 'aws-cdk-lib';
const abortIncompleteMultipartUploadProperty: s3express.CfnDirectoryBucket.AbortIncompleteMultipartUploadProperty = {
daysAfterInitiation: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_s3express as s3express
abort_incomplete_multipart_upload_property = s3express.CfnDirectoryBucket.AbortIncompleteMultipartUploadProperty(
days_after_initiation=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.s3express.*;
AbortIncompleteMultipartUploadProperty abortIncompleteMultipartUploadProperty = AbortIncompleteMultipartUploadProperty.builder()
.daysAfterInitiation(123)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.S3Express;
var abortIncompleteMultipartUploadProperty = new AbortIncompleteMultipartUploadProperty {
DaysAfterInitiation = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
abortIncompleteMultipartUploadProperty := &AbortIncompleteMultipartUploadProperty{
DaysAfterInitiation: jsii.Number(123),
}
Properties
daysAfterInitiationnumberdays_after_initiationint | floatdaysAfterInitiationNumberDaysAfterInitiationdoubleDaysAfterInitiation*float64 required #Specifies the number of days after which Amazon S3 aborts an incomplete multipart upload.