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.67 kB
import * as pulumi from "@pulumi/pulumi"; /** * AWS::S3ObjectLambda::AccessPointPolicy resource is an Amazon S3ObjectLambda policy type that you can use to control permissions for your S3ObjectLambda */ export declare function getAccessPointPolicy(args: GetAccessPointPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetAccessPointPolicyResult>; export interface GetAccessPointPolicyArgs { /** * The name of the Amazon S3 ObjectLambdaAccessPoint to which the policy applies. */ objectLambdaAccessPoint: string; } export interface GetAccessPointPolicyResult { /** * A policy document containing permissions to add to the specified ObjectLambdaAccessPoint. For more information, see Access Policy Language Overview (https://docs.aws.amazon.com/AmazonS3/latest/dev/access-policy-language-overview.html) in the Amazon Simple Storage Service Developer Guide. * * Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::S3ObjectLambda::AccessPointPolicy` for more information about the expected schema for this property. */ readonly policyDocument?: any; } /** * AWS::S3ObjectLambda::AccessPointPolicy resource is an Amazon S3ObjectLambda policy type that you can use to control permissions for your S3ObjectLambda */ export declare function getAccessPointPolicyOutput(args: GetAccessPointPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAccessPointPolicyResult>; export interface GetAccessPointPolicyOutputArgs { /** * The name of the Amazon S3 ObjectLambdaAccessPoint to which the policy applies. */ objectLambdaAccessPoint: pulumi.Input<string>; }