aws-native logo
AWS Native v0.53.0, Mar 14 23

aws-native.s3.getAccessPoint

The AWS::S3::AccessPoint resource is an Amazon S3 resource type that you can use to access buckets.

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(name: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetAccessPointResult
def get_access_point_output(name: 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)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: aws-native:s3:getAccessPoint
  arguments:
    # arguments dictionary

The following arguments are supported:

Name string

The name you want to assign to this Access Point. If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the access point name.

Name string

The name you want to assign to this Access Point. If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the access point name.

name String

The name you want to assign to this Access Point. If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the access point name.

name string

The name you want to assign to this Access Point. If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the access point name.

name str

The name you want to assign to this Access Point. If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the access point name.

name String

The name you want to assign to this Access Point. If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the access point name.

getAccessPoint Result

The following output properties are available:

Alias string

The alias of this Access Point. This alias can be used for compatibility purposes with other AWS services and third-party applications.

Arn string

The Amazon Resource Name (ARN) of the specified accesspoint.

NetworkOrigin Pulumi.AwsNative.S3.AccessPointNetworkOrigin

Indicates whether this Access Point allows access from the public Internet. If VpcConfiguration is specified for this Access Point, then NetworkOrigin is VPC, and the Access Point doesn't allow access from the public Internet. Otherwise, NetworkOrigin is Internet, and the Access Point allows access from the public Internet, subject to the Access Point and bucket access policies.

Policy object

The Access Point Policy you want to apply to this access point.

PolicyStatus Pulumi.AwsNative.S3.Outputs.PolicyStatusProperties
Alias string

The alias of this Access Point. This alias can be used for compatibility purposes with other AWS services and third-party applications.

Arn string

The Amazon Resource Name (ARN) of the specified accesspoint.

NetworkOrigin AccessPointNetworkOrigin

Indicates whether this Access Point allows access from the public Internet. If VpcConfiguration is specified for this Access Point, then NetworkOrigin is VPC, and the Access Point doesn't allow access from the public Internet. Otherwise, NetworkOrigin is Internet, and the Access Point allows access from the public Internet, subject to the Access Point and bucket access policies.

Policy interface{}

The Access Point Policy you want to apply to this access point.

PolicyStatus PolicyStatusProperties
alias String

The alias of this Access Point. This alias can be used for compatibility purposes with other AWS services and third-party applications.

arn String

The Amazon Resource Name (ARN) of the specified accesspoint.

networkOrigin AccessPointNetworkOrigin

Indicates whether this Access Point allows access from the public Internet. If VpcConfiguration is specified for this Access Point, then NetworkOrigin is VPC, and the Access Point doesn't allow access from the public Internet. Otherwise, NetworkOrigin is Internet, and the Access Point allows access from the public Internet, subject to the Access Point and bucket access policies.

policy Object

The Access Point Policy you want to apply to this access point.

policyStatus PolicyStatusProperties
alias string

The alias of this Access Point. This alias can be used for compatibility purposes with other AWS services and third-party applications.

arn string

The Amazon Resource Name (ARN) of the specified accesspoint.

networkOrigin AccessPointNetworkOrigin

Indicates whether this Access Point allows access from the public Internet. If VpcConfiguration is specified for this Access Point, then NetworkOrigin is VPC, and the Access Point doesn't allow access from the public Internet. Otherwise, NetworkOrigin is Internet, and the Access Point allows access from the public Internet, subject to the Access Point and bucket access policies.

policy any

The Access Point Policy you want to apply to this access point.

policyStatus PolicyStatusProperties
alias str

The alias of this Access Point. This alias can be used for compatibility purposes with other AWS services and third-party applications.

arn str

The Amazon Resource Name (ARN) of the specified accesspoint.

network_origin AccessPointNetworkOrigin

Indicates whether this Access Point allows access from the public Internet. If VpcConfiguration is specified for this Access Point, then NetworkOrigin is VPC, and the Access Point doesn't allow access from the public Internet. Otherwise, NetworkOrigin is Internet, and the Access Point allows access from the public Internet, subject to the Access Point and bucket access policies.

policy Any

The Access Point Policy you want to apply to this access point.

policy_status PolicyStatusProperties
alias String

The alias of this Access Point. This alias can be used for compatibility purposes with other AWS services and third-party applications.

arn String

The Amazon Resource Name (ARN) of the specified accesspoint.

networkOrigin "Internet" | "VPC"

Indicates whether this Access Point allows access from the public Internet. If VpcConfiguration is specified for this Access Point, then NetworkOrigin is VPC, and the Access Point doesn't allow access from the public Internet. Otherwise, NetworkOrigin is Internet, and the Access Point allows access from the public Internet, subject to the Access Point and bucket access policies.

policy Any

The Access Point Policy you want to apply to this access point.

policyStatus Property Map

Supporting Types

AccessPointNetworkOrigin

MultiRegionAccessPointPolicyPolicyStatusPropertiesIsPublic

PolicyStatusProperties

IsPublic MultiRegionAccessPointPolicyPolicyStatusPropertiesIsPublic

Specifies whether the policy is public or not.

isPublic MultiRegionAccessPointPolicyPolicyStatusPropertiesIsPublic

Specifies whether the policy is public or not.

isPublic MultiRegionAccessPointPolicyPolicyStatusPropertiesIsPublic

Specifies whether the policy is public or not.

is_public MultiRegionAccessPointPolicyPolicyStatusPropertiesIsPublic

Specifies whether the policy is public or not.

isPublic "true" | "false"

Specifies whether the policy is public or not.

Package Details

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