Skip to content
v2.278.0

S3LocationBindOptions Struct ​

Options for binding an S3 Location.

Example ​

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
# 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
// 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();
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
};
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 ​

forReadingoptionalbooleanfor_readingoptionalboolforReadingoptionalBooleanForReadingoptionalboolForReadingoptional*bool = false #
Allow reading from the S3 Location.
forWritingoptionalbooleanfor_writingoptionalboolforWritingoptionalBooleanForWritingoptionalboolForWritingoptional*bool = false #
Allow writing to the S3 Location.