interface CfnVectorBucketPolicyMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.S3Vectors.Mixins.CfnVectorBucketPolicyMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awss3vectors/mixins#CfnVectorBucketPolicyMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.s3vectors.mixins.CfnVectorBucketPolicyMixinProps |
Python | aws_cdk.mixins_preview.aws_s3vectors.mixins.CfnVectorBucketPolicyMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_s3vectors » mixins » CfnVectorBucketPolicyMixinProps |
Properties for CfnVectorBucketPolicyPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as s3vectors_mixins } from '@aws-cdk/mixins-preview/aws-s3vectors';
declare const policy: any;
const cfnVectorBucketPolicyMixinProps: s3vectors_mixins.CfnVectorBucketPolicyMixinProps = {
policy: policy,
vectorBucketArn: 'vectorBucketArn',
vectorBucketName: 'vectorBucketName',
};
Properties
| Name | Type | Description |
|---|---|---|
| policy? | any | A policy document containing permissions to add to the specified vector bucket. |
| vector | string | The Amazon Resource Name (ARN) of the S3 vector bucket to which the policy applies. |
| vector | string | The name of the S3 vector bucket to which the policy applies. |
policy?
Type:
any
(optional)
A policy document containing permissions to add to the specified vector bucket.
In IAM , you must provide policy documents in JSON format. However, in CloudFormation you can provide the policy in JSON or YAML format because CloudFormation converts YAML to JSON before submitting it to IAM .
vectorBucketArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the S3 vector bucket to which the policy applies.
vectorBucketName?
Type:
string
(optional)
The name of the S3 vector bucket to which the policy applies.

.NET
Go
Java
Python
TypeScript