S3LocationProperty
Struct External
Defines an Amazon S3 bucket location.
| Source | |
|---|---|
| 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_lex as lex } from 'aws-cdk-lib';
const s3LocationProperty: lex.CfnBot.S3LocationProperty = {
s3Bucket: 's3Bucket',
s3ObjectKey: 's3ObjectKey',
// the properties below are optional
s3ObjectVersion: 's3ObjectVersion',
};
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_lex as lex
s3_location_property = lex.CfnBot.S3LocationProperty(
s3_bucket="s3Bucket",
s3_object_key="s3ObjectKey",
# the properties below are optional
s3_object_version="s3ObjectVersion"
)
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.lex.*;
S3LocationProperty s3LocationProperty = S3LocationProperty.builder()
.s3Bucket("s3Bucket")
.s3ObjectKey("s3ObjectKey")
// the properties below are optional
.s3ObjectVersion("s3ObjectVersion")
.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.Lex;
var s3LocationProperty = new S3LocationProperty {
S3Bucket = "s3Bucket",
S3ObjectKey = "s3ObjectKey",
// the properties below are optional
S3ObjectVersion = "s3ObjectVersion"
};
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{
S3Bucket: jsii.String("s3Bucket"),
S3ObjectKey: jsii.String("s3ObjectKey"),
// the properties below are optional
S3ObjectVersion: jsii.String("s3ObjectVersion"),
}
Properties
The S3 bucket name.
The path and file name to the object in the S3 bucket.
s3ObjectVersionoptionalstrings3_object_versionoptionalstrs3ObjectVersionoptionalStringS3ObjectVersionoptionalstringS3ObjectVersionoptional*string #The version of the object in the S3 bucket.