AccelerateConfigurationProperty Struct
Configures the transfer acceleration state for an Amazon S3 bucket.
For more information, see Amazon S3 Transfer Acceleration 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_s3 as s3 } from 'aws-cdk-lib';
const accelerateConfigurationProperty: s3.CfnBucket.AccelerateConfigurationProperty = {
accelerationStatus: 'accelerationStatus',
};
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_s3 as s3
accelerate_configuration_property = s3.CfnBucket.AccelerateConfigurationProperty(
acceleration_status="accelerationStatus"
)
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.s3.*;
AccelerateConfigurationProperty accelerateConfigurationProperty = AccelerateConfigurationProperty.builder()
.accelerationStatus("accelerationStatus")
.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.S3;
var accelerateConfigurationProperty = new AccelerateConfigurationProperty {
AccelerationStatus = "accelerationStatus"
};
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"
accelerateConfigurationProperty := &AccelerateConfigurationProperty{
AccelerationStatus: jsii.String("accelerationStatus"),
}
Properties
accelerationStatusstringacceleration_statusstraccelerationStatusStringAccelerationStatusstringAccelerationStatus*string required #Specifies the transfer acceleration status of the bucket.