Viewing docs for AWS v7.22.0
published on Wednesday, Mar 11, 2026 by Pulumi
published on Wednesday, Mar 11, 2026 by Pulumi
Viewing docs for AWS v7.22.0
published on Wednesday, Mar 11, 2026 by Pulumi
published on Wednesday, Mar 11, 2026 by Pulumi
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:
- Account
Id string - Alias string
- Access point alias.
- Arn string
- Access point ARN.
- Bucket string
- Name of the bucket associated with the access point.
- Bucket
Account stringId - AWS account ID associated with the S3 bucket associated with the access point.
- Data
Source stringId - Unique identifier for the data source of the access point.
- Data
Source 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
- Network
Origin string - Indicates whether the access point allows access from the public Internet.
- Public
Access 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.
- Vpc
Configurations List<GetAccess Point Vpc Configuration> - VPC configuration for the access point.
- Account
Id string - Alias string
- Access point alias.
- Arn string
- Access point ARN.
- Bucket string
- Name of the bucket associated with the access point.
- Bucket
Account stringId - AWS account ID associated with the S3 bucket associated with the access point.
- Data
Source stringId - Unique identifier for the data source of the access point.
- Data
Source 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
- Network
Origin string - Indicates whether the access point allows access from the public Internet.
- Public
Access []GetBlock Configurations Access Point Public Access Block Configuration PublicAccessBlockconfiguration for the access point.- Region string
- map[string]string
- Tags assigned to the access point.
- Vpc
Configurations []GetAccess Point Vpc Configuration - VPC configuration for the access point.
- account
Id String - alias String
- Access point alias.
- arn String
- Access point ARN.
- bucket String
- Name of the bucket associated with the access point.
- bucket
Account StringId - AWS account ID associated with the S3 bucket associated with the access point.
- data
Source StringId - Unique identifier for the data source of the access point.
- data
Source 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
- network
Origin String - Indicates whether the access point allows access from the public Internet.
- public
Access 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.
- vpc
Configurations List<GetAccess Point Vpc Configuration> - VPC configuration for the access point.
- account
Id string - alias string
- Access point alias.
- arn string
- Access point ARN.
- bucket string
- Name of the bucket associated with the access point.
- bucket
Account stringId - AWS account ID associated with the S3 bucket associated with the access point.
- data
Source stringId - Unique identifier for the data source of the access point.
- data
Source 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
- network
Origin string - Indicates whether the access point allows access from the public Internet.
- public
Access GetBlock Configurations Access Point Public Access Block Configuration[] PublicAccessBlockconfiguration for the access point.- region string
- {[key: string]: string}
- Tags assigned to the access point.
- vpc
Configurations 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.
- account
Id String - alias String
- Access point alias.
- arn String
- Access point ARN.
- bucket String
- Name of the bucket associated with the access point.
- bucket
Account StringId - AWS account ID associated with the S3 bucket associated with the access point.
- data
Source StringId - Unique identifier for the data source of the access point.
- data
Source 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
- network
Origin String - Indicates whether the access point allows access from the public Internet.
- public
Access List<Property Map>Block Configurations PublicAccessBlockconfiguration for the access point.- region String
- Map<String>
- Tags assigned to the access point.
- vpc
Configurations List<Property Map> - VPC configuration for the access point.
Supporting Types
GetAccessPointPublicAccessBlockConfiguration
- 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.
- 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.
- block
Public BooleanAcls - Whether Amazon S3 blocks public ACLs for buckets in this account.
- block
Public BooleanPolicy - Whether Amazon S3 blocks public bucket policies for buckets in this account.
- ignore
Public BooleanAcls - Whether Amazon S3 ignores public ACLs for buckets in this account.
- restrict
Public BooleanBuckets - Whether Amazon S3 restricts public bucket policies for buckets in this account.
- block
Public booleanAcls - Whether Amazon S3 blocks public ACLs for buckets in this account.
- block
Public booleanPolicy - Whether Amazon S3 blocks public bucket policies for buckets in this account.
- ignore
Public booleanAcls - Whether Amazon S3 ignores public ACLs for buckets in this account.
- restrict
Public 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.
- block
Public BooleanAcls - Whether Amazon S3 blocks public ACLs for buckets in this account.
- block
Public BooleanPolicy - Whether Amazon S3 blocks public bucket policies for buckets in this account.
- ignore
Public BooleanAcls - Whether Amazon S3 ignores public ACLs for buckets in this account.
- restrict
Public BooleanBuckets - Whether Amazon S3 restricts public bucket policies for buckets in this account.
GetAccessPointVpcConfiguration
- Vpc
Id string - Access point will only allow connections from this VPC.
- Vpc
Id string - Access point will only allow connections from this VPC.
- vpc
Id String - Access point will only allow connections from this VPC.
- vpc
Id string - Access point will only allow connections from this VPC.
- vpc_
id str - Access point will only allow connections from this VPC.
- vpc
Id 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.
Viewing docs for AWS v7.22.0
published on Wednesday, Mar 11, 2026 by Pulumi
published on Wednesday, Mar 11, 2026 by Pulumi
