Skip to content
v2.278.0

S3LocationProperty ​

Struct External

The 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_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const s3LocationProperty: bedrockagentcore.CfnBrowserCustom.S3LocationProperty = {
  bucket: 'bucket',
  prefix: 'prefix',
};
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_bedrockagentcore as bedrockagentcore

s3_location_property = bedrockagentcore.CfnBrowserCustom.S3LocationProperty(
    bucket="bucket",
    prefix="prefix"
)
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.bedrockagentcore.*;

S3LocationProperty s3LocationProperty = S3LocationProperty.builder()
        .bucket("bucket")
        .prefix("prefix")
        .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.BedrockAgentCore;

var s3LocationProperty = new S3LocationProperty {
    Bucket = "bucket",
    Prefix = "prefix"
};
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"

s3LocationProperty := &S3LocationProperty{
	Bucket: jsii.String("bucket"),
	Prefix: jsii.String("prefix"),
}

Properties ​

bucketstringbucketstrbucketStringBucketstringBucket*string required #
The S3 location bucket name.
prefixstringprefixstrprefixStringPrefixstringPrefix*string required #
The S3 location object prefix.