# TransferAccelerationUrlOptions

Options for creating a Transfer Acceleration URL.

Used as argument in: [IBucket.transferAccelerationUrlForObject](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3.IBucket.html#transferaccelerationurlforobject)

- Source: [`aws-s3/lib/bucket.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-s3/lib/bucket.ts#L4023)
- Type last changed: v2.1.0 · 8 Dec 2021

## Example

TypeScript:

```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 transferAccelerationUrlOptions: s3.TransferAccelerationUrlOptions = {
  dualStack: false,
};
```

Python:

```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

transfer_acceleration_url_options = s3.TransferAccelerationUrlOptions(
    dual_stack=False
)
```

Java:

```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.*;

TransferAccelerationUrlOptions transferAccelerationUrlOptions = TransferAccelerationUrlOptions.builder()
        .dualStack(false)
        .build();
```

C# / .NET:

```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 transferAccelerationUrlOptions = new TransferAccelerationUrlOptions {
    DualStack = false
};
```

Golang:

```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"

transferAccelerationUrlOptions := &TransferAccelerationUrlOptions{
	DualStack: jsii.Boolean(false),
}
```

## Properties

- `dualStack`: boolean = false — Dual-stack support to connect to the bucket over IPv6.
