AWS v7.10.0 published on Friday, Oct 24, 2025 by Pulumi
aws.s3.getAccessPoint
Provides details about a specific S3 access point.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.s3.getAccessPoint({
    name: "example-access-point",
});
import pulumi
import pulumi_aws as aws
example = aws.s3.get_access_point(name="example-access-point")
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := s3.LookupAccessPoint(ctx, &s3.LookupAccessPointArgs{
			Name: "example-access-point",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var example = Aws.S3.GetAccessPoint.Invoke(new()
    {
        Name = "example-access-point",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.s3.S3Functions;
import com.pulumi.aws.s3.inputs.GetAccessPointArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var example = S3Functions.getAccessPoint(GetAccessPointArgs.builder()
            .name("example-access-point")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: aws:s3:getAccessPoint
      arguments:
        name: example-access-point
Using getAccessPoint
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 getAccessPoint(args: GetAccessPointArgs, opts?: InvokeOptions): Promise<GetAccessPointResult>
function getAccessPointOutput(args: GetAccessPointOutputArgs, opts?: InvokeOptions): Output<GetAccessPointResult>def get_access_point(account_id: Optional[str] = None,
                     name: Optional[str] = None,
                     region: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetAccessPointResult
def get_access_point_output(account_id: Optional[pulumi.Input[str]] = None,
                     name: Optional[pulumi.Input[str]] = None,
                     region: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetAccessPointResult]func LookupAccessPoint(ctx *Context, args *LookupAccessPointArgs, opts ...InvokeOption) (*LookupAccessPointResult, error)
func LookupAccessPointOutput(ctx *Context, args *LookupAccessPointOutputArgs, opts ...InvokeOption) LookupAccessPointResultOutput> Note: This function is named LookupAccessPoint in the Go SDK.
public static class GetAccessPoint 
{
    public static Task<GetAccessPointResult> InvokeAsync(GetAccessPointArgs args, InvokeOptions? opts = null)
    public static Output<GetAccessPointResult> Invoke(GetAccessPointInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAccessPointResult> getAccessPoint(GetAccessPointArgs args, InvokeOptions options)
public static Output<GetAccessPointResult> getAccessPoint(GetAccessPointArgs args, InvokeOptions options)
fn::invoke:
  function: aws:s3/getAccessPoint:getAccessPoint
  arguments:
    # arguments dictionaryThe following arguments are supported:
- name str
- Name of the access point.
- account_id str
- AWS account ID for the account that owns the specified access point.
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
getAccessPoint Result
The following output properties are available:
- AccountId string
- Alias string
- Access point alias.
- Arn string
- Access point ARN.
- Bucket string
- Name of the bucket associated with the access point.
- BucketAccount stringId 
- AWS account ID associated with the S3 bucket associated with the access point.
- DataSource stringId 
- Unique identifier for the data source of the access point.
- DataSource stringType 
- Type of the data source that the access point is attached to.
- Endpoints Dictionary<string, string>
- VPC endpoint for the access point.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- NetworkOrigin string
- Indicates whether the access point allows access from the public Internet.
- PublicAccess List<GetBlock Configurations Access Point Public Access Block Configuration> 
- PublicAccessBlockconfiguration for the access point.
- Region string
- Dictionary<string, string>
- Tags assigned to the access point.
- VpcConfigurations List<GetAccess Point Vpc Configuration> 
- VPC configuration for the access point.
- AccountId string
- Alias string
- Access point alias.
- Arn string
- Access point ARN.
- Bucket string
- Name of the bucket associated with the access point.
- BucketAccount stringId 
- AWS account ID associated with the S3 bucket associated with the access point.
- DataSource stringId 
- Unique identifier for the data source of the access point.
- DataSource stringType 
- Type of the data source that the access point is attached to.
- Endpoints map[string]string
- VPC endpoint for the access point.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- NetworkOrigin string
- Indicates whether the access point allows access from the public Internet.
- PublicAccess []GetBlock Configurations Access Point Public Access Block Configuration 
- PublicAccessBlockconfiguration for the access point.
- Region string
- map[string]string
- Tags assigned to the access point.
- VpcConfigurations []GetAccess Point Vpc Configuration 
- VPC configuration for the access point.
- accountId String
- alias String
- Access point alias.
- arn String
- Access point ARN.
- bucket String
- Name of the bucket associated with the access point.
- bucketAccount StringId 
- AWS account ID associated with the S3 bucket associated with the access point.
- dataSource StringId 
- Unique identifier for the data source of the access point.
- dataSource StringType 
- Type of the data source that the access point is attached to.
- endpoints Map<String,String>
- VPC endpoint for the access point.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- networkOrigin String
- Indicates whether the access point allows access from the public Internet.
- publicAccess List<GetBlock Configurations Access Point Public Access Block Configuration> 
- PublicAccessBlockconfiguration for the access point.
- region String
- Map<String,String>
- Tags assigned to the access point.
- vpcConfigurations List<GetAccess Point Vpc Configuration> 
- VPC configuration for the access point.
- accountId string
- alias string
- Access point alias.
- arn string
- Access point ARN.
- bucket string
- Name of the bucket associated with the access point.
- bucketAccount stringId 
- AWS account ID associated with the S3 bucket associated with the access point.
- dataSource stringId 
- Unique identifier for the data source of the access point.
- dataSource stringType 
- Type of the data source that the access point is attached to.
- endpoints {[key: string]: string}
- VPC endpoint for the access point.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- networkOrigin string
- Indicates whether the access point allows access from the public Internet.
- publicAccess GetBlock Configurations Access Point Public Access Block Configuration[] 
- PublicAccessBlockconfiguration for the access point.
- region string
- {[key: string]: string}
- Tags assigned to the access point.
- vpcConfigurations GetAccess Point Vpc Configuration[] 
- VPC configuration for the access point.
- account_id str
- alias str
- Access point alias.
- arn str
- Access point ARN.
- bucket str
- Name of the bucket associated with the access point.
- bucket_account_ strid 
- AWS account ID associated with the S3 bucket associated with the access point.
- data_source_ strid 
- Unique identifier for the data source of the access point.
- data_source_ strtype 
- Type of the data source that the access point is attached to.
- endpoints Mapping[str, str]
- VPC endpoint for the access point.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- network_origin str
- Indicates whether the access point allows access from the public Internet.
- public_access_ Sequence[Getblock_ configurations Access Point Public Access Block Configuration] 
- PublicAccessBlockconfiguration for the access point.
- region str
- Mapping[str, str]
- Tags assigned to the access point.
- vpc_configurations Sequence[GetAccess Point Vpc Configuration] 
- VPC configuration for the access point.
- accountId String
- alias String
- Access point alias.
- arn String
- Access point ARN.
- bucket String
- Name of the bucket associated with the access point.
- bucketAccount StringId 
- AWS account ID associated with the S3 bucket associated with the access point.
- dataSource StringId 
- Unique identifier for the data source of the access point.
- dataSource StringType 
- Type of the data source that the access point is attached to.
- endpoints Map<String>
- VPC endpoint for the access point.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- networkOrigin String
- Indicates whether the access point allows access from the public Internet.
- publicAccess List<Property Map>Block Configurations 
- PublicAccessBlockconfiguration for the access point.
- region String
- Map<String>
- Tags assigned to the access point.
- vpcConfigurations List<Property Map>
- VPC configuration for the access point.
Supporting Types
GetAccessPointPublicAccessBlockConfiguration      
- BlockPublic boolAcls 
- Whether Amazon S3 blocks public ACLs for buckets in this account.
- BlockPublic boolPolicy 
- Whether Amazon S3 blocks public bucket policies for buckets in this account.
- IgnorePublic boolAcls 
- Whether Amazon S3 ignores public ACLs for buckets in this account.
- RestrictPublic boolBuckets 
- Whether Amazon S3 restricts public bucket policies for buckets in this account.
- BlockPublic boolAcls 
- Whether Amazon S3 blocks public ACLs for buckets in this account.
- BlockPublic boolPolicy 
- Whether Amazon S3 blocks public bucket policies for buckets in this account.
- IgnorePublic boolAcls 
- Whether Amazon S3 ignores public ACLs for buckets in this account.
- RestrictPublic boolBuckets 
- Whether Amazon S3 restricts public bucket policies for buckets in this account.
- blockPublic BooleanAcls 
- Whether Amazon S3 blocks public ACLs for buckets in this account.
- blockPublic BooleanPolicy 
- Whether Amazon S3 blocks public bucket policies for buckets in this account.
- ignorePublic BooleanAcls 
- Whether Amazon S3 ignores public ACLs for buckets in this account.
- restrictPublic BooleanBuckets 
- Whether Amazon S3 restricts public bucket policies for buckets in this account.
- blockPublic booleanAcls 
- Whether Amazon S3 blocks public ACLs for buckets in this account.
- blockPublic booleanPolicy 
- Whether Amazon S3 blocks public bucket policies for buckets in this account.
- ignorePublic booleanAcls 
- Whether Amazon S3 ignores public ACLs for buckets in this account.
- restrictPublic booleanBuckets 
- Whether Amazon S3 restricts public bucket policies for buckets in this account.
- block_public_ boolacls 
- Whether Amazon S3 blocks public ACLs for buckets in this account.
- block_public_ boolpolicy 
- Whether Amazon S3 blocks public bucket policies for buckets in this account.
- ignore_public_ boolacls 
- Whether Amazon S3 ignores public ACLs for buckets in this account.
- restrict_public_ boolbuckets 
- Whether Amazon S3 restricts public bucket policies for buckets in this account.
- blockPublic BooleanAcls 
- Whether Amazon S3 blocks public ACLs for buckets in this account.
- blockPublic BooleanPolicy 
- Whether Amazon S3 blocks public bucket policies for buckets in this account.
- ignorePublic BooleanAcls 
- Whether Amazon S3 ignores public ACLs for buckets in this account.
- restrictPublic BooleanBuckets 
- Whether Amazon S3 restricts public bucket policies for buckets in this account.
GetAccessPointVpcConfiguration    
- VpcId string
- Access point will only allow connections from this VPC.
- VpcId string
- Access point will only allow connections from this VPC.
- vpcId String
- Access point will only allow connections from this VPC.
- vpcId string
- Access point will only allow connections from this VPC.
- vpc_id str
- Access point will only allow connections from this VPC.
- vpcId String
- Access point will only allow connections from this VPC.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.
