Skip to content
v2.277.0

VectorBucketPolicyReference Struct ​

A reference to a VectorBucketPolicy resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3vectors as interfaces_s3vectors } from 'aws-cdk-lib/interfaces';
const vectorBucketPolicyReference: interfaces_s3vectors.VectorBucketPolicyReference = {
  vectorBucketArn: 'vectorBucketArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_s3vectors as interfaces_s3vectors

vector_bucket_policy_reference = interfaces_s3vectors.VectorBucketPolicyReference(
    vector_bucket_arn="vectorBucketArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.s3vectors.*;

VectorBucketPolicyReference vectorBucketPolicyReference = VectorBucketPolicyReference.builder()
        .vectorBucketArn("vectorBucketArn")
        .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.Interfaces.S3Vectors;

var vectorBucketPolicyReference = new VectorBucketPolicyReference {
    VectorBucketArn = "vectorBucketArn"
};
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"

vectorBucketPolicyReference := &VectorBucketPolicyReference{
	VectorBucketArn: jsii.String("vectorBucketArn"),
}

Properties ​

vectorBucketArnstringvector_bucket_arnstrvectorBucketArnStringVectorBucketArnstringVectorBucketArn*stringrequired#
The VectorBucketArn of the VectorBucketPolicy resource.