We recommend new projects start with resources from the AWS provider.
aws-native.s3objectlambda.AccessPointPolicy
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS::S3ObjectLambda::AccessPointPolicy resource is an Amazon S3ObjectLambda policy type that you can use to control permissions for your S3ObjectLambda
Create AccessPointPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AccessPointPolicy(name: string, args: AccessPointPolicyArgs, opts?: CustomResourceOptions);
@overload
def AccessPointPolicy(resource_name: str,
args: AccessPointPolicyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AccessPointPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
object_lambda_access_point: Optional[str] = None,
policy_document: Optional[Any] = None)
func NewAccessPointPolicy(ctx *Context, name string, args AccessPointPolicyArgs, opts ...ResourceOption) (*AccessPointPolicy, error)
public AccessPointPolicy(string name, AccessPointPolicyArgs args, CustomResourceOptions? opts = null)
public AccessPointPolicy(String name, AccessPointPolicyArgs args)
public AccessPointPolicy(String name, AccessPointPolicyArgs args, CustomResourceOptions options)
type: aws-native:s3objectlambda:AccessPointPolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AccessPointPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AccessPointPolicyArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AccessPointPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AccessPointPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AccessPointPolicyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
AccessPointPolicy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The AccessPointPolicy resource accepts the following input properties:
- Object
Lambda stringAccess Point - The name of the Amazon S3 ObjectLambdaAccessPoint to which the policy applies.
- 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.
- Object
Lambda stringAccess Point - The name of the Amazon S3 ObjectLambdaAccessPoint to which the policy applies.
- 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.
- object
Lambda StringAccess Point - The name of the Amazon S3 ObjectLambdaAccessPoint to which the policy applies.
- 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.
- object
Lambda stringAccess Point - The name of the Amazon S3 ObjectLambdaAccessPoint to which the policy applies.
- 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.
- object_
lambda_ straccess_ point - The name of the Amazon S3 ObjectLambdaAccessPoint to which the policy applies.
- 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.
- object
Lambda StringAccess Point - The name of the Amazon S3 ObjectLambdaAccessPoint to which the policy applies.
- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the AccessPointPolicy resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.