# S3LocationBindOptions

Options for binding an S3 Location.

Used as argument in: [S3Location.bind](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_stepfunctions_tasks.S3Location.html#bind)

- Source: [`aws-stepfunctions-tasks/lib/sagemaker/base-types.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/sagemaker/base-types.ts#L323)

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_stepfunctions_tasks as stepfunctions_tasks } from 'aws-cdk-lib';
const s3LocationBindOptions: stepfunctions_tasks.S3LocationBindOptions = {
  forReading: false,
  forWriting: 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_stepfunctions_tasks as stepfunctions_tasks

s3_location_bind_options = stepfunctions_tasks.S3LocationBindOptions(
    for_reading=False,
    for_writing=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.stepfunctions.tasks.*;

S3LocationBindOptions s3LocationBindOptions = S3LocationBindOptions.builder()
        .forReading(false)
        .forWriting(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.StepFunctions.Tasks;

var s3LocationBindOptions = new S3LocationBindOptions {
    ForReading = false,
    ForWriting = 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"

s3LocationBindOptions := &S3LocationBindOptions{
	ForReading: jsii.Boolean(false),
	ForWriting: jsii.Boolean(false),
}
```

## Properties

- `forReading`: boolean = false — Allow reading from the S3 Location.

- `forWriting`: boolean = false — Allow writing to the S3 Location.
