1. Packages
  2. AWS Native
  3. API Docs
  4. s3objectlambda
  5. getAccessPointPolicy

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.78.0 published on Wednesday, Sep 27, 2023 by Pulumi

aws-native.s3objectlambda.getAccessPointPolicy

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.78.0 published on Wednesday, Sep 27, 2023 by Pulumi

    AWS::S3ObjectLambda::AccessPointPolicy resource is an Amazon S3ObjectLambda policy type that you can use to control permissions for your S3ObjectLambda

    Using getAccessPointPolicy

    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 getAccessPointPolicy(args: GetAccessPointPolicyArgs, opts?: InvokeOptions): Promise<GetAccessPointPolicyResult>
    function getAccessPointPolicyOutput(args: GetAccessPointPolicyOutputArgs, opts?: InvokeOptions): Output<GetAccessPointPolicyResult>
    def get_access_point_policy(object_lambda_access_point: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetAccessPointPolicyResult
    def get_access_point_policy_output(object_lambda_access_point: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetAccessPointPolicyResult]
    func LookupAccessPointPolicy(ctx *Context, args *LookupAccessPointPolicyArgs, opts ...InvokeOption) (*LookupAccessPointPolicyResult, error)
    func LookupAccessPointPolicyOutput(ctx *Context, args *LookupAccessPointPolicyOutputArgs, opts ...InvokeOption) LookupAccessPointPolicyResultOutput

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

    public static class GetAccessPointPolicy 
    {
        public static Task<GetAccessPointPolicyResult> InvokeAsync(GetAccessPointPolicyArgs args, InvokeOptions? opts = null)
        public static Output<GetAccessPointPolicyResult> Invoke(GetAccessPointPolicyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAccessPointPolicyResult> getAccessPointPolicy(GetAccessPointPolicyArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:s3objectlambda:getAccessPointPolicy
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ObjectLambdaAccessPoint string

    The name of the Amazon S3 ObjectLambdaAccessPoint to which the policy applies.

    ObjectLambdaAccessPoint string

    The name of the Amazon S3 ObjectLambdaAccessPoint to which the policy applies.

    objectLambdaAccessPoint String

    The name of the Amazon S3 ObjectLambdaAccessPoint to which the policy applies.

    objectLambdaAccessPoint string

    The name of the Amazon S3 ObjectLambdaAccessPoint to which the policy applies.

    object_lambda_access_point str

    The name of the Amazon S3 ObjectLambdaAccessPoint to which the policy applies.

    objectLambdaAccessPoint String

    The name of the Amazon S3 ObjectLambdaAccessPoint to which the policy applies.

    getAccessPointPolicy Result

    The following output properties are available:

    PolicyDocument object

    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.

    PolicyDocument interface{}

    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.

    policyDocument Object

    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.

    policyDocument any

    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.

    policy_document Any

    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.

    policyDocument Any

    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.

    Package Details

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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.78.0 published on Wednesday, Sep 27, 2023 by Pulumi