Description Usage Arguments Value Examples
View source: R/ECSFargateProvider-method.R
Create an ECS Fargate cloud provider. Note that the arguments for the function are the settings for ECS fargate. You can find them in the AWS ECS console.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ECSFargateProvider(
clusterName = "R-worker-cluster",
serverTaskDefName = "R-server-task-definition",
workerTaskDefName = "R-worker-task-definition",
securityGroupName = "R-parallel-security-group",
vpcId = NULL,
subnetId = NULL,
securityGroupId = NULL,
internetGatewayId = NULL,
routeTableId = NULL,
taskExecRoleId = NULL,
enableWorkerPublicIp = TRUE,
logDriver = c("auto", "none", "awslogs", "awsfirelens", "splunk"),
logOptions = list(),
region = aws.ecx::aws_get_region()
)
|
clusterName |
Character, the cluster name in ECS Fargate |
serverTaskDefName, workerTaskDefName |
Character, the task defintion name for the server and worker |
securityGroupName |
Character, the security group name |
vpcId, subnetId, securityGroupId, internetGatewayId, routeTableId, taskExecRoleId |
The ID/ARN of the resources for the container |
enableWorkerPublicIp |
Logical, whether to enable the public IP for the worker.
If this value is |
logDriver |
Character, the log driver, if |
logOptions |
Named list, the options for the log driver |
region |
Character, the region of the ECS computing cluster |
a ECSFargateProvider
object
1 | provider <- ECSFargateProvider()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.