Skip to content
v2.278.0

AbortIncompleteMultipartUploadProperty Struct ​

Specifies the days since the initiation of an incomplete multipart upload that Amazon S3 on Outposts waits before permanently removing all parts of the upload.

For more information, see Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Policy .

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3outposts as s3outposts } from 'aws-cdk-lib';
const abortIncompleteMultipartUploadProperty: s3outposts.CfnBucket.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_s3outposts as s3outposts

abort_incomplete_multipart_upload_property = s3outposts.CfnBucket.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.s3outposts.*;

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.S3Outposts;

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 initiation that Amazon S3 on Outposts aborts an incomplete multipart upload.