@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
52 lines (51 loc) • 3.3 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* The AWS::S3Express::AccessPoint resource is an Amazon S3 resource type that you can use to access buckets.
*/
export declare function getAccessPoint(args: GetAccessPointArgs, opts?: pulumi.InvokeOptions): Promise<GetAccessPointResult>;
export interface GetAccessPointArgs {
/**
* 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. For directory buckets, the access point name must consist of a base name that you provide and suffix that includes the ZoneID (AWS Availability Zone or Local Zone) of your bucket location, followed by --xa-s3.
*/
name: string;
}
export interface GetAccessPointResult {
/**
* The Amazon Resource Name (ARN) of the specified accesspoint.
*/
readonly arn?: string;
/**
* 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.
*/
readonly networkOrigin?: enums.s3express.AccessPointNetworkOrigin;
/**
* The Access Point Policy you want to apply to this access point.
*
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::S3Express::AccessPoint` for more information about the expected schema for this property.
*/
readonly policy?: any;
/**
* The PublicAccessBlock configuration that you want to apply to this Access Point.
*/
readonly publicAccessBlockConfiguration?: outputs.s3express.AccessPointPublicAccessBlockConfiguration;
/**
* For directory buckets, you can filter access control to specific prefixes, API operations, or a combination of both.
*/
readonly scope?: outputs.s3express.AccessPointScope;
/**
* An array of tags that you can apply to access points. Tags are key-value pairs of metadata used to categorize your access points and control access. For more information, see [Using tags for attribute-based access control (ABAC)](https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html#using-tags-for-abac) .
*/
readonly tags?: outputs.Tag[];
}
/**
* The AWS::S3Express::AccessPoint resource is an Amazon S3 resource type that you can use to access buckets.
*/
export declare function getAccessPointOutput(args: GetAccessPointOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAccessPointResult>;
export interface GetAccessPointOutputArgs {
/**
* 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. For directory buckets, the access point name must consist of a base name that you provide and suffix that includes the ZoneID (AWS Availability Zone or Local Zone) of your bucket location, followed by --xa-s3.
*/
name: pulumi.Input<string>;
}