DataBucketConfiguration Struct
S3 bucket configuration for data storage destination.
| Source | aws-stepfunctions-tasks/lib/bedrock/create-model-customization-job.ts |
|---|---|
| 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';
import { aws_stepfunctions_tasks as stepfunctions_tasks } from 'aws-cdk-lib';
declare const bucket: s3.Bucket;
const dataBucketConfiguration: stepfunctions_tasks.DataBucketConfiguration = {
bucket: bucket,
// the properties below are optional
path: 'path',
};
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
from aws_cdk import aws_stepfunctions_tasks as stepfunctions_tasks
# bucket: s3.Bucket
data_bucket_configuration = stepfunctions_tasks.DataBucketConfiguration(
bucket=bucket,
# the properties below are optional
path="path"
)
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.*;
import software.amazon.awscdk.services.stepfunctions.tasks.*;
Bucket bucket;
DataBucketConfiguration dataBucketConfiguration = DataBucketConfiguration.builder()
.bucket(bucket)
// the properties below are optional
.path("path")
.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;
using Amazon.CDK.AWS.StepFunctions.Tasks;
Bucket bucket;
var dataBucketConfiguration = new DataBucketConfiguration {
Bucket = bucket,
// the properties below are optional
Path = "path"
};
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"
import "github.com/aws/aws-cdk-go/awscdk"
var bucket Bucket
dataBucketConfiguration := &DataBucketConfiguration{
Bucket: bucket,
// the properties below are optional
Path: jsii.String("path"),
}