@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
29 lines (28 loc) • 1.37 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Resource Type definition for AWS::S3Vectors::VectorBucketPolicy
*/
export declare function getVectorBucketPolicy(args: GetVectorBucketPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetVectorBucketPolicyResult>;
export interface GetVectorBucketPolicyArgs {
/**
* The Amazon Resource Name (ARN) of the S3 vector bucket to which the policy applies.
*/
vectorBucketArn: string;
}
export interface GetVectorBucketPolicyResult {
/**
* 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 .
*/
readonly policy?: outputs.s3vectors.VectorBucketPolicyPolicy;
}
/**
* Resource Type definition for AWS::S3Vectors::VectorBucketPolicy
*/
export declare function getVectorBucketPolicyOutput(args: GetVectorBucketPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVectorBucketPolicyResult>;
export interface GetVectorBucketPolicyOutputArgs {
/**
* The Amazon Resource Name (ARN) of the S3 vector bucket to which the policy applies.
*/
vectorBucketArn: pulumi.Input<string>;
}