AWS Native is in preview. AWS Classic is fully supported.
aws-native.s3objectlambda.getAccessPointPolicy
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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:
- Object
Lambda stringAccess Point - The name of the Amazon S3 ObjectLambdaAccessPoint to which the policy applies.
- Object
Lambda stringAccess Point - The name of the Amazon S3 ObjectLambdaAccessPoint to which the policy applies.
- object
Lambda StringAccess Point - The name of the Amazon S3 ObjectLambdaAccessPoint to which the policy applies.
- object
Lambda stringAccess Point - The name of the Amazon S3 ObjectLambdaAccessPoint to which the policy applies.
- object_
lambda_ straccess_ point - The name of the Amazon S3 ObjectLambdaAccessPoint to which the policy applies.
- object
Lambda StringAccess Point - The name of the Amazon S3 ObjectLambdaAccessPoint to which the policy applies.
getAccessPointPolicy Result
The following output properties are available:
- Policy
Document 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.
Search the CloudFormation User Guide for
AWS::S3ObjectLambda::AccessPointPolicy
for more information about the expected schema for this property.
- Policy
Document 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.
Search the CloudFormation User Guide for
AWS::S3ObjectLambda::AccessPointPolicy
for more information about the expected schema for this property.
- policy
Document 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.
Search the CloudFormation User Guide for
AWS::S3ObjectLambda::AccessPointPolicy
for more information about the expected schema for this property.
- 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.
Search the CloudFormation User Guide for
AWS::S3ObjectLambda::AccessPointPolicy
for more information about the expected schema for this property.
- 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.
Search the CloudFormation User Guide for
AWS::S3ObjectLambda::AccessPointPolicy
for more information about the expected schema for this property.
- 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.
Search the CloudFormation User Guide for
AWS::S3ObjectLambda::AccessPointPolicy
for more information about the expected schema for this property.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.