Classes
Name | Description |
---|---|
EfsFargateSite | No description |
EfsFargateTask | Represents the AWS Fargate task with EFS and secret manager support. |
GithubSyncSource | No description |
S3ArchiveSyncSource | No description |
StatefulFargateNginx | No description |
SyncSource | No description |
SyncedAccessPoint | No description |
Structs
Name | Description |
---|---|
EfsFargateSiteProps | No description |
EfsFargateTaskProps | No description |
FargateTaskConfig | No description |
GithubSecret | No description |
GithubSourceProps | No description |
S3ArchiveSourceProps | No description |
StatefulFargateNginxProps | No description |
SyncSourceProps | No description |
SyncedAccessPointProps | No description |
Enums
Name | Description |
---|---|
SyncEngine | No description |
Implements: IConstruct, IConstruct, IConstruct, IDependable Extends: Construct
new EfsFargateSite(scope: Construct, id: string, props: EfsFargateSiteProps)
- scope (
Construct
) No description - id (
string
) No description - props (
EfsFargateSiteProps
) No description- accessPoint (
AccessPoint
) No description - task (
FargateTaskDefinition
) No description - vpc (
IVpc
) No description
- accessPoint (
Name | Type | Description |
---|---|---|
service | ApplicationLoadBalancedFargateService |
|
task | FargateTaskDefinition |
Represents the AWS Fargate task with EFS and secret manager support.
Implements: IConstruct, IConstruct, IConstruct, IDependable Extends: Construct
new EfsFargateTask(scope: Construct, id: string, props: EfsFargateTaskProps)
- scope (
Construct
) No description - id (
string
) No description - props (
EfsFargateTaskProps
) No description- accessPoint (
AccessPoint
) No description - syncContainer (
ContainerDefinitionOptions
) No description - vpc (
IVpc
) No description - efsMountTarget (
string
) EFS mount target in the container. Default: /mnt/efsmount - secret (
GithubSecret
) No description Optional
- accessPoint (
Name | Type | Description |
---|---|---|
securityGroup | SecurityGroup |
|
task | FargateTaskDefinition |
Extends: SyncSource
new GithubSyncSource(props: GithubSourceProps)
- props (
GithubSourceProps
) No description- vpc (
IVpc
) The VPC of the Amazon EFS Filesystem. - syncDirectoryPath (
string
) The (absolute) directory path inside the EFS AccessPoint to sync files to. Optional - timeout (
Duration
) Timeout duration for sync Lambda function. Optional - vpcSubnets (
SubnetSelection
) Where to place the network interfaces within the VPC. Optional - repository (
string
) The github repository HTTP URI. - secret (
GithubSecret
) The github secret for the private repository. Optional
- vpc (
Extends: SyncSource
new S3ArchiveSyncSource(props: S3ArchiveSourceProps)
- props (
S3ArchiveSourceProps
) No description- vpc (
IVpc
) The VPC of the Amazon EFS Filesystem. - syncDirectoryPath (
string
) The (absolute) directory path inside the EFS AccessPoint to sync files to. Optional - timeout (
Duration
) Timeout duration for sync Lambda function. Optional - vpcSubnets (
SubnetSelection
) Where to place the network interfaces within the VPC. Optional - bucket (
IBucket
) The S3 bucket containing the archive file. - zipFilePath (
string
) The path of the zip file to extract in the S3 bucket. - syncOnUpdate (
boolean
) If this is set to true, then whenever a new object is uploaded to the specified path, an EFS sync will be triggered. Default: true
- vpc (
Implements: IConstruct, IConstruct, IConstruct, IDependable Extends: Construct
new StatefulFargateNginx(scope: Construct, id: string, props: StatefulFargateNginxProps)
- scope (
Construct
) No description - id (
string
) No description - props (
StatefulFargateNginxProps
) No description- efsFileSystem (
IFileSystem
) The EFS FilesSystem as the stateful shared storage of the Fargate service. Default: create a new EFS FileSystem - github (
string
) The github repository to clone as the doc root of the nginx. Default: https://github.com/cristurm/nyan-cat.git - vpc (
IVpc
) The VPC for the fargate service. Default: create a new VPC
- efsFileSystem (
createSyncedAccessPoint(): SyncedAccessPoint
Returns:
Implemented by: GithubSyncSource, S3ArchiveSyncSource
new SyncSource()
static github(props: GithubSourceProps): SyncSource
- props (
GithubSourceProps
) No description- vpc (
IVpc
) The VPC of the Amazon EFS Filesystem. - syncDirectoryPath (
string
) The (absolute) directory path inside the EFS AccessPoint to sync files to. Optional - timeout (
Duration
) Timeout duration for sync Lambda function. Optional - vpcSubnets (
SubnetSelection
) Where to place the network interfaces within the VPC. Optional - repository (
string
) The github repository HTTP URI. - secret (
GithubSecret
) The github secret for the private repository. Optional
- vpc (
Returns:
static s3Archive(props: S3ArchiveSourceProps): SyncSource
- props (
S3ArchiveSourceProps
) No description- vpc (
IVpc
) The VPC of the Amazon EFS Filesystem. - syncDirectoryPath (
string
) The (absolute) directory path inside the EFS AccessPoint to sync files to. Optional - timeout (
Duration
) Timeout duration for sync Lambda function. Optional - vpcSubnets (
SubnetSelection
) Where to place the network interfaces within the VPC. Optional - bucket (
IBucket
) The S3 bucket containing the archive file. - zipFilePath (
string
) The path of the zip file to extract in the S3 bucket. - syncOnUpdate (
boolean
) If this is set to true, then whenever a new object is uploaded to the specified path, an EFS sync will be triggered. Default: true
- vpc (
Returns:
Implements: IConstruct, IConstruct, IConstruct, IDependable, IResource, IConstruct, IDependable, IConstruct, IAccessPoint, IConstruct, IDependable, IConstruct, IResource, IAccessPoint, IConstruct, IDependable, IConstruct, IResource Extends: AccessPoint
new SyncedAccessPoint(scope: Construct, id: string, props: SyncedAccessPointProps)
- scope (
Construct
) No description - id (
string
) No description - props (
SyncedAccessPointProps
) No description- createAcl (
Acl
) Specifies the POSIX IDs and permissions to apply when creating the access point's root directory. Default: None. The directory specified bypath
must exist. - path (
string
) Specifies the path on the EFS file system to expose as the root directory to NFS clients using the access point to access the EFS file system. Default: '/' - posixUser (
PosixUser
) The full POSIX identity, including the user ID, group ID, and any secondary group IDs, on the access point that is used for all file system operations performed by NFS clients using the access point. Default: user identity not enforced - fileSystem (
IFileSystem
) The efs filesystem. - syncSource (
SyncSource
) No description - vpc (
IVpc
) The VPC to run the sync job. - engine (
SyncEngine
) Trigger the sync with AWS Lambda or AWS Fargate. Optional
- createAcl (
Name | Type | Description |
---|---|---|
accessPoint | AccessPoint |
|
task | FargateTaskDefinition |
|
vpc | IVpc |
Name | Type | Description |
---|---|---|
accessPoint | AccessPoint |
|
syncContainer | ContainerDefinitionOptions |
|
vpc | IVpc |
|
efsMountTarget? | string |
EFS mount target in the container. Default: /mnt/efsmount |
secret? | GithubSecret |
Optional |
Name | Type | Description |
---|---|---|
securityGroup | ISecurityGroup |
The security group of the fargate task. |
task | TaskDefinition |
Name | Type | Description |
---|---|---|
id | string |
The secret ID from AWS Secrets Manager. |
key | string |
The key of the secret. |
Name | Type | Description |
---|---|---|
repository | string |
The github repository HTTP URI. |
vpc | IVpc |
The VPC of the Amazon EFS Filesystem. |
secret? | GithubSecret |
The github secret for the private repository. Optional |
syncDirectoryPath? | string |
The (absolute) directory path inside the EFS AccessPoint to sync files to. Optional |
timeout? | Duration |
Timeout duration for sync Lambda function. Optional |
vpcSubnets? | SubnetSelection |
Where to place the network interfaces within the VPC. Optional |
Name | Type | Description |
---|---|---|
bucket | IBucket |
The S3 bucket containing the archive file. |
vpc | IVpc |
The VPC of the Amazon EFS Filesystem. |
zipFilePath | string |
The path of the zip file to extract in the S3 bucket. |
syncDirectoryPath? | string |
The (absolute) directory path inside the EFS AccessPoint to sync files to. Optional |
syncOnUpdate? | boolean |
If this is set to true, then whenever a new object is uploaded to the specified path, an EFS sync will be triggered. Default: true |
timeout? | Duration |
Timeout duration for sync Lambda function. Optional |
vpcSubnets? | SubnetSelection |
Where to place the network interfaces within the VPC. Optional |
Name | Type | Description |
---|---|---|
efsFileSystem? | IFileSystem |
The EFS FilesSystem as the stateful shared storage of the Fargate service. Default: create a new EFS FileSystem |
github? | string |
The github repository to clone as the doc root of the nginx. Default: https://github.com/cristurm/nyan-cat.git |
vpc? | IVpc |
The VPC for the fargate service. Default: create a new VPC |
Name | Type | Description |
---|---|---|
vpc | IVpc |
The VPC of the Amazon EFS Filesystem. |
syncDirectoryPath? | string |
The (absolute) directory path inside the EFS AccessPoint to sync files to. Optional |
timeout? | Duration |
Timeout duration for sync Lambda function. Optional |
vpcSubnets? | SubnetSelection |
Where to place the network interfaces within the VPC. Optional |
Name | Type | Description |
---|---|---|
fileSystem | IFileSystem |
The efs filesystem. |
syncSource | SyncSource |
|
vpc | IVpc |
The VPC to run the sync job. |
createAcl? | Acl |
Specifies the POSIX IDs and permissions to apply when creating the access point's root directory. Default: None. The directory specified by path must exist. |
engine? | SyncEngine |
Trigger the sync with AWS Lambda or AWS Fargate. Optional |
path? | string |
Specifies the path on the EFS file system to expose as the root directory to NFS clients using the access point to access the EFS file system. Default: '/' |
posixUser? | PosixUser |
The full POSIX identity, including the user ID, group ID, and any secondary group IDs, on the access point that is used for all file system operations performed by NFS clients using the access point. Default: user identity not enforced |
Name | Description |
---|---|
FARGATE | |
LAMBDA |