Skip to main content
Version: Early Access

AWS Container Plugin

The AWS container plugin allows you to create, update, invoke, and delete Lambda functions using packages such as .zip files or container images.

important

You must set up a connection to the AWS server before adding AWS tasks. For more information, see Set up Connection to AWS Server.

note

In the release flow editor, Container tasks have a blue border.

AWS provides the following features:

  • Create Function and Update Function using Image
  • Create Function and Update Function using S3 zip
  • Delete Function and Invoke Function
  • Create Secret (Container)
  • Get Secret (Container)
  • Update Secret (Container)
  • Delete Secret (Container)

Prerequisites

For AWS integration, you need the following:

  • AWS server running and accessible via HTTP(s)
  • Digital.ai Release Runner setup to run the container tasks

Set Up Connection to AWS Server

  1. From the navigation pane, under CONFIGURATION, click Connections.
  2. Under HTTP Server connections, next to AWS: Server (Container), click add button. The New AWS: Server (Container) page opens.
  3. In the Title field, enter a name for the configuration.
  4. In the Authentication method dropdown, select an authentication method:
    • Access Keys: Enter the following details:
      • Access Key ID: The AWS access key ID.
      • Secret Access Key: The AWS secret access key.
      • Session Token (optional): The session token if applicable.
    • None: Credentials will be automatically retrieved from the IAM role assigned to the pod or node.
  5. In the Assume Role ARN (optional) field, enter the ARN of the assume role that the caller is assuming.
  6. If required, enter proxy details.
  7. To test the connection, click Test.
  8. To save the configuration, click Save.

Create AWS server

Create Function Using Image (Container)

The Create Function Using Image (Container) task creates a Lambda function using the image.

In the release flow tab of a Release template, add a task of type AWS > Create Function Using Image (Container).

FieldDescription
CapabilitiesEnter a value that matches the capability set for your Runner. This helps route jobs to that Runner.
AWS ServerSelect the configured AWS server.
RegionEnter the AWS region to be used.
Function NameEnter the AWS Lambda function name.
Function DescriptionEnter a description for the AWS Lambda function.
RoleEnter the Amazon Resource Name (ARN) of the IAM role.
Image UriEnter the URI of a container image in the Amazon ECR registry.
Wait for Active StateToggle on if you want to wait for the function to become active.
Wait IntervalEnter the interval in seconds between each attempt.
ENTRYPOINT OverrideEnter a value to override the entry point value in the image configuration.
CMD OverrideEnter a value to override the cmd value in the image configuration.
WORKDIR OverrideEnter a value to override the workdir value in the image configuration.
Subnet IdsEnter one or more VPC subnet IDs (comma-separated).
Security Group IdsEnter one or more VPC security group IDs (comma-separated).
TimeoutEnter the timeout in seconds.
Memory SizeEnter the memory capacity for the Lambda function (in MB).
EnvironmentAdd key-value pairs of environment variables accessible from function code during execution.
PublishToggle on if you want to publish the first version of the function during creation.
TagsAdd key-value pairs of tags assigned to the new function.

Create Function Using Image (Container)

Update Function Using Image (Container)

The Update Function Using Image (Container) task updates a Lambda function using the image.

In the release flow tab of a Release template, add a task of type AWS > Update Function Using Image (Container).

FieldDescription
CapabilitiesEnter a value that matches the capability set for your Runner. This helps route jobs to that Runner.
AWS ServerSelect the configured AWS server.
RegionEnter the AWS region to be used.
Function NameEnter the AWS Lambda function name.
Image UriEnter the URI of a container image in the Amazon ECR registry.
Wait for Successful StatusToggle on if you want to wait for the function to get updated and become successful.
Wait IntervalEnter the value in seconds to define the wait interval between each attempt.
PublishToggle on if you want to publish the new version of the function after update.

Update Function Using Image (Container)

Create Function Using S3 Zip (Container)

The Create Function Using S3 Zip (Container) task creates a Lambda function using the S3 zip.

In the release flow tab of a Release template, add a task of type AWS > Create Function Using S3 Zip (Container).

FieldDescription
CapabilitiesEnter a value that matches the capability set for your Runner. This helps route jobs to that Runner.
AWS ServerSelect the configured AWS server.
RegionEnter the AWS region to be used.
Function NameEnter the AWS Lambda function name.
Function DescriptionEnter a description for the AWS Lambda function.
S3 Bucket NameEnter the S3 bucket name where the .zip file containing your deployment package is stored.
S3 Object KeyEnter the path to your .zip file containing the deployment package.
S3 Object VersionEnter the version of your deployment package.
RuntimeEnter the runtime environment for execution.
RoleEnter the Amazon Resource Name (ARN) of the IAM role.
HandlerEnter the function within your code that Lambda calls to begin execution.
Wait for Active StateToggle on if you want to wait for the function to become active.
Wait IntervalEnter the value in seconds to define the wait interval between each attempt.
TimeoutEnter the timeout in seconds.
Subnet IdsEnter one or more VPC subnet IDs (comma-separated).
Security Group IdsEnter one or more VPC security group IDs (comma-separated).
Memory SizeEnter the memory capacity for the Lambda function (in MB).
EnvironmentAdd key-value pairs of environment variables accessible from function code during execution.
PublishToggle on if you want to publish the first version of the function during creation.
TagsAdd key-value pairs of tags assigned to the new function.

Create Function Using S3 Zip (Container)

Update Function Using S3 Zip (Container)

The Update Function Using S3 Zip (Container) task updates a lambda function using the S3 zip.

In the release flow tab of a Release template, add a task of type AWS > Update Function Using S3 Zip (Container).

FieldDescription
CapabilitiesEnter a value that matches the capability set for your Runner. This helps route jobs to that Runner.
AWS ServerSelect the configured AWS server.
RegionEnter the AWS region to be used.
Function NameEnter the AWS Lambda function name that must be updated.
S3 Bucket NameEnter the S3 bucket name where the .zip file containing your deployment package is stored.
S3 Object KeyEnter the path to your .zip file containing the deployment package.
S3 Object VersionEnter the version of your deployment package.
Wait for Successful StatusToggle on if you want to wait for the function to get updated and become successful.
Wait IntervalEnter the value in seconds to define the wait interval between each attempt.
PublishToggle on if you want to publish the new version of the function after update.

Update Function Using S3 Zip (Container)

Invoke Function (Container)

The Invoke Function Using S3 Zip (Container) task invokes a Lambda function.

In the release flow tab of a Release template, add a task of type AWS > Invoke Function (Container).

FieldDescription
CapabilitiesEnter a value that matches the capability set for your Runner. This helps route jobs to that Runner.
AWS ServerSelect the configured AWS server.
RegionEnter the AWS region to be used.
Function NameEnter the AWS Lambda function name that you want to invoke.
Invocation TypeSelect a type from the drop-down list. This defines how the function is invoked.
PayloadEnter the JSON you want to provide to your Lambda function as input.
Client ContextEnter the value of the client context.
QualifierSpecify a version or alias to invoke a published version of the function.

Invoke Function (Container)

Delete Function (Container)

The Delete Function Using S3 Zip (Container) task deletes a Lambda function.

In the release flow tab of a Release template, add a task of type AWS > Delete Function (Container).

FieldDescription
CapabilitiesEnter a value that matches the capability set for your Runner. This helps route jobs to that Runner.
AWS ServerSelect the configured AWS server.
RegionEnter the AWS region to be used.
Function NameEnter the AWS Lambda function name that you want to delete.
QualifierSpecify a version of the function that you want to delete.

Delete Function (Container)

Create Secret (Container)

The Create Secret (Container) task creates a new secret in AWS Secrets Manager.

FieldDescription
AWS ServerSelect the configured AWS server.
RegionEnter the AWS region to be used.
NameEnter the name of the secret.
ValueEnter the value of the secret.

Create Secret

Get Secret (Container)

The Get Secret (Container) task retrieves a stored secret from AWS Secrets Manager.

FieldDescription
AWS ServerSelect the configured AWS server.
RegionEnter the AWS region to be used.
NameEnter the name (SecretId) of the secret to retrieve.
KeyEnter the key within the secret to retrieve. If omitted, the entire secret value is returned.

Get Secret

Update Secret (Container)

The Update Secret (Container) task updates an existing secret in AWS Secrets Manager.

FieldDescription
AWS ServerSelect the configured AWS server.
RegionEnter the AWS region to be used.
NameEnter the name (SecretId) of the secret to update.
KeyEnter the key within the secret to update. If omitted, the full secret string is overwritten.
ValueEnter the new secret value.

Update Secret

Delete Secret (Container)

The Delete Secret (Container) task deletes a secret from AWS Secrets Manager.

FieldDescription
AWS ServerSelect the configured AWS server.
RegionEnter the AWS region to be used.
NameEnter the name (SecretId) of the secret to delete.
Recovery Window (Days)Enter the number of days (7–30) before permanent deletion. Defaults to 30 if omitted.
Force Delete Without RecoveryToggle on to delete the secret immediately without a recovery window.

Delete Secret