UNPKG

@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)

30 lines (29 loc) 1.14 kB
import * as pulumi from "@pulumi/pulumi"; /** * Resource Type Definition for AWS::S3Outposts::BucketPolicy */ export declare function getBucketPolicy(args: GetBucketPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetBucketPolicyResult>; export interface GetBucketPolicyArgs { /** * The Amazon Resource Name (ARN) of the specified bucket. */ bucket: string; } export interface GetBucketPolicyResult { /** * A policy document containing permissions to add to the specified bucket. * * Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::S3Outposts::BucketPolicy` for more information about the expected schema for this property. */ readonly policyDocument?: any; } /** * Resource Type Definition for AWS::S3Outposts::BucketPolicy */ export declare function getBucketPolicyOutput(args: GetBucketPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBucketPolicyResult>; export interface GetBucketPolicyOutputArgs { /** * The Amazon Resource Name (ARN) of the specified bucket. */ bucket: pulumi.Input<string>; }