39 lines
1.6 KiB
TypeScript
39 lines
1.6 KiB
TypeScript
import type * as ec2 from '../../../aws-ec2';
|
|
import type { IAccessPointRef } from '../../../interfaces/generated/aws-s3files-interfaces.generated';
|
|
import { CfnMountTarget } from '../s3files.generated';
|
|
import type { CfnAccessPoint, CfnFileSystem } from '../s3files.generated';
|
|
/**
|
|
* Provides read-only reflection on the configuration of an S3 Files access point
|
|
* and its related resources (file system, mount targets, security groups).
|
|
*
|
|
* Use `AccessPointReflection.of()` to obtain an instance from any access point reference.
|
|
* All getters read directly from the L1 resources in the construct tree.
|
|
*/
|
|
export declare class AccessPointReflection {
|
|
/**
|
|
* Creates an AccessPointReflection for the given access point reference.
|
|
*/
|
|
static of(accessPointRef: IAccessPointRef): AccessPointReflection;
|
|
private readonly ref;
|
|
private readonly _accessPoint;
|
|
private constructor();
|
|
/**
|
|
* The underlying CfnAccessPoint resource.
|
|
* @throws If the CfnAccessPoint cannot be found in the construct tree.
|
|
*/
|
|
get accessPoint(): CfnAccessPoint;
|
|
/**
|
|
* The CfnFileSystem associated with this access point.
|
|
* @throws If the CfnFileSystem cannot be found in the construct tree.
|
|
*/
|
|
get fileSystem(): CfnFileSystem;
|
|
/**
|
|
* All CfnMountTarget resources associated with this access point's file system.
|
|
*/
|
|
get mountTargets(): CfnMountTarget[];
|
|
/**
|
|
* The security groups attached to the mount targets, resolved from the construct tree.
|
|
*/
|
|
get mountTargetSecurityGroups(): ec2.CfnSecurityGroup[];
|
|
}
|