Interface CfnVectorBucketPolicyProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVectorBucketPolicyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:17.281Z")
@Stability(Stable)
public interface CfnVectorBucketPolicyProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnVectorBucketPolicy.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.s3vectors.*;
Object policy;
CfnVectorBucketPolicyProps cfnVectorBucketPolicyProps = CfnVectorBucketPolicyProps.builder()
.policy(policy)
// the properties below are optional
.vectorBucketArn("vectorBucketArn")
.vectorBucketName("vectorBucketName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnVectorBucketPolicyPropsstatic final classAn implementation forCfnVectorBucketPolicyProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()A policy document containing permissions to add to the specified vector bucket.default StringThe Amazon Resource Name (ARN) of the S3 vector bucket to which the policy applies.default StringThe name of the S3 vector bucket to which the policy applies.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPolicy
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 .
- See Also:
-
getVectorBucketArn
The Amazon Resource Name (ARN) of the S3 vector bucket to which the policy applies.- See Also:
-
getVectorBucketName
The name of the S3 vector bucket to which the policy applies.- See Also:
-
builder
- Returns:
- a
CfnVectorBucketPolicyProps.BuilderofCfnVectorBucketPolicyProps
-