1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. s3vectors
  5. getVectorBucketPolicy

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi

aws-native.s3vectors.getVectorBucketPolicy

Start a Neo task
Explain and create an aws-native.s3vectors.getVectorBucketPolicy resource
aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi

    Resource Type definition for AWS::S3Vectors::VectorBucketPolicy

    Using getVectorBucketPolicy

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getVectorBucketPolicy(args: GetVectorBucketPolicyArgs, opts?: InvokeOptions): Promise<GetVectorBucketPolicyResult>
    function getVectorBucketPolicyOutput(args: GetVectorBucketPolicyOutputArgs, opts?: InvokeOptions): Output<GetVectorBucketPolicyResult>
    def get_vector_bucket_policy(vector_bucket_arn: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetVectorBucketPolicyResult
    def get_vector_bucket_policy_output(vector_bucket_arn: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetVectorBucketPolicyResult]
    func LookupVectorBucketPolicy(ctx *Context, args *LookupVectorBucketPolicyArgs, opts ...InvokeOption) (*LookupVectorBucketPolicyResult, error)
    func LookupVectorBucketPolicyOutput(ctx *Context, args *LookupVectorBucketPolicyOutputArgs, opts ...InvokeOption) LookupVectorBucketPolicyResultOutput

    > Note: This function is named LookupVectorBucketPolicy in the Go SDK.

    public static class GetVectorBucketPolicy 
    {
        public static Task<GetVectorBucketPolicyResult> InvokeAsync(GetVectorBucketPolicyArgs args, InvokeOptions? opts = null)
        public static Output<GetVectorBucketPolicyResult> Invoke(GetVectorBucketPolicyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetVectorBucketPolicyResult> getVectorBucketPolicy(GetVectorBucketPolicyArgs args, InvokeOptions options)
    public static Output<GetVectorBucketPolicyResult> getVectorBucketPolicy(GetVectorBucketPolicyArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:s3vectors:getVectorBucketPolicy
      arguments:
        # arguments dictionary

    The following arguments are supported:

    VectorBucketArn string
    The Amazon Resource Name (ARN) of the S3 vector bucket to which the policy applies.
    VectorBucketArn string
    The Amazon Resource Name (ARN) of the S3 vector bucket to which the policy applies.
    vectorBucketArn String
    The Amazon Resource Name (ARN) of the S3 vector bucket to which the policy applies.
    vectorBucketArn string
    The Amazon Resource Name (ARN) of the S3 vector bucket to which the policy applies.
    vector_bucket_arn str
    The Amazon Resource Name (ARN) of the S3 vector bucket to which the policy applies.
    vectorBucketArn String
    The Amazon Resource Name (ARN) of the S3 vector bucket to which the policy applies.

    getVectorBucketPolicy Result

    The following output properties are available:

    Policy Pulumi.AwsNative.S3Vectors.Outputs.VectorBucketPolicyPolicy
    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 .
    Policy VectorBucketPolicyPolicy
    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 .
    policy VectorBucketPolicyPolicy
    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 .
    policy VectorBucketPolicyPolicy
    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 .
    policy VectorBucketPolicyPolicy
    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 .
    policy Property Map
    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 .

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate