Skip to content

AWS

Manage resources and execute AWS commands in workflows

Initially, you can leave the “IAM Role ARN” field empty, as you will be guided through the identity provider and IAM role creation process.

The On Alarm trigger starts a workflow execution when a CloudWatch alarm transitions to the ALARM state.

  • Incident response: Notify responders and open incidents when alarms fire
  • Auto-remediation: Execute rollback or recovery workflows immediately
  • Audit and reporting: Track alarm transitions over time
  • Region: AWS region where alarms are evaluated
  • Alarms: Optional alarm name filters (supports equals, not-equals, and regex matches)
  • State: Only trigger for alarms in the specified state (OK, ALARM, or INSUFFICIENT_DATA)

Each alarm event includes:

  • detail.alarmName: CloudWatch alarm name
  • detail.state.value: Current alarm state
  • detail.previousState.value: Previous alarm state
{
"data": {
"account": "123456789012",
"detail": {
"alarmName": "HighCPUUtilization",
"previousState": {
"reason": "Threshold Crossed: 1 datapoint [35.0 (20/11/24 20:29:00)] was not greater than or equal to the threshold (90.0).",
"timestamp": "2024-11-20T20:30:33.000+0000",
"value": "OK"
},
"state": {
"reason": "Threshold Crossed: 1 datapoint [95.0 (20/11/24 20:34:00)] was greater than or equal to the threshold (90.0).",
"timestamp": "2024-11-20T20:35:33.000+0000",
"value": "ALARM"
}
},
"detail-type": "CloudWatch Alarm State Change",
"id": "2f1ecf5c-8bc9-4b7d-9e76-8df420e8e1a7",
"region": "us-east-1",
"resources": [
"arn:aws:cloudwatch:us-east-1:123456789012:alarm:HighCPUUtilization"
],
"source": "aws.cloudwatch",
"time": "2024-11-20T20:35:33Z",
"version": "0"
},
"timestamp": "2026-02-10T12:00:00Z",
"type": "aws.cloudwatch.alarm"
}

The On Package Version trigger starts a workflow execution when a package version is created, modified, or deleted in AWS CodeArtifact.

  • Release automation: Trigger downstream workflows when a new package version is published
  • Dependency monitoring: Notify teams about changes to shared libraries
  • Compliance checks: Validate artifacts before promotion
{
"data": {
"account": "123456789012",
"detail": {
"changes": {
"assetsAdded": 1,
"assetsRemoved": 0,
"assetsUpdated": 0,
"metadataUpdated": false,
"statusChanged": true
},
"domainName": "example-domain",
"domainOwner": "123456789012",
"eventDeduplicationId": "5f87d1a3-2c1f-4ab0-8f55-8f4c2b4a5c76",
"operationType": "Created",
"packageFormat": "npm",
"packageName": "@scope/example-package",
"packageNamespace": null,
"packageVersion": "1.2.3",
"packageVersionRevision": "E30D52B451F42F41",
"packageVersionState": "Published",
"repositoryAdministrator": "arn:aws:sts::123456789012:assumed-role/ExampleRole/example-user",
"repositoryName": "example-repo",
"sequenceNumber": 1
},
"detail-type": "CodeArtifact Package Version State Change",
"id": "d9e9ff4a-3514-3d2c-b6b8-1fb5e0b9d3b2",
"region": "us-east-1",
"resources": [
"arn:aws:codeartifact:us-east-1:123456789012:repository/example-domain/example-repo"
],
"source": "aws.codeartifact",
"time": "2024-11-20T20:35:33Z",
"version": "0"
},
"timestamp": "2026-03-10T14:25:30.31254162Z",
"type": "aws.codeartifact.package.version"
}

The On Image Push trigger starts a workflow execution when an image is pushed to an ECR repository.

  • Build pipelines: Trigger builds and deployments on container pushes
  • Security automation: Kick off scans or alerts for newly pushed images
  • Release workflows: Promote artifacts when a tag is published
  • Repositories: Optional filters for ECR repository names
  • Image Tags: Optional filters for image tags (for example: latest or ^v[0-9]+)

Each image push event includes:

  • detail.repository-name: ECR repository name
  • detail.image-tag: Tag that was pushed
  • detail.image-digest: Digest of the image
{
"data": {
"account": "123456789012",
"detail": {
"action-type": "PUSH",
"image-digest": "sha256:2c26b46b68ffc68ff99b453c1d30413413422f1642f0e2b8c7b8a0b8a96a909e",
"image-tag": "latest",
"repository-arn": "arn:aws:ecr:us-east-1:123456789012:repository/my-repo",
"repository-name": "my-repo",
"result": "SUCCESS"
},
"detail-type": "ECR Image Action",
"id": "c1b45a2c-9c3f-4c52-bc98-5ea31ce17692",
"region": "us-east-1",
"resources": [
"arn:aws:ecr:us-east-1:123456789012:repository/my-repo"
],
"source": "aws.ecr",
"time": "2024-01-01T12:00:00Z",
"version": "0"
},
"timestamp": "2026-02-03T12:00:00Z",
"type": "aws.ecr.image.push"
}

The On Image Scan trigger starts a workflow execution when an ECR image scan completes.

  • Security automation: Notify teams or open issues on new findings
  • Compliance checks: Gate promotions based on severity thresholds
  • Reporting: Aggregate scan findings across repositories
  • Repositories: Optional filters for ECR repository names
  • Enhanced scanning: Enhanced scanning events are sent by Amazon Inspector (aws.inspector2)

Each image scan event includes:

  • detail.scan-status: Scan status (for example: COMPLETE)
  • detail.repository-name: ECR repository name
  • detail.image-digest: Digest of the image
  • detail.image-tags: Tags associated with the image
  • detail.finding-severity-counts: Counts per severity level (if any)
{
"data": {
"account": "123456789012",
"detail": {
"finding-severity-counts": {
"CRITICAL": 10,
"MEDIUM": 9
},
"image-digest": "sha256:7f5b2640fe6fb4f46592dfd3410c4a79dac4f89e4782432e0378abcd1234",
"image-tags": [],
"repository-name": "my-repo",
"scan-status": "COMPLETE"
},
"detail-type": "ECR Image Scan",
"id": "df8b66c7-62c7-4b8a-9a6b-6ad7d6d8b3a2",
"region": "us-east-1",
"resources": [
"arn:aws:ecr:us-east-1:123456789012:repository/my-repo"
],
"source": "aws.ecr",
"time": "2024-01-01T12:00:00Z",
"version": "0"
},
"timestamp": "2026-03-10T14:25:30.31254162Z",
"type": "aws.ecr.image.scan"
}

The On Topic Message trigger starts a workflow execution when a message is published to an AWS SNS topic.

  • Event-driven automation: React to messages published by external systems
  • Notification processing: Handle SNS payloads in workflow steps
  • Routing and enrichment: Trigger downstream workflows based on topic activity

During setup, SuperPlane creates a webhook endpoint for this trigger and subscribes it to the selected SNS topic using HTTPS. SNS sends notification payloads to the webhook endpoint, which then emits workflow events.

{
"data": {
"account": "123456789012",
"detail": {
"message": "{\"orderId\":\"ord_123\",\"status\":\"created\"}",
"messageId": "95df01b4-ee98-5cb9-9903-4c221d41eb5e",
"subject": "order.created",
"timestamp": "2026-01-10T10:00:00Z",
"topicArn": "arn:aws:sns:us-east-1:123456789012:orders-events"
},
"message": "{\"orderId\":\"ord_123\",\"status\":\"created\"}",
"messageAttributes": {
"eventType": {
"Type": "String",
"Value": "order.created"
}
},
"messageId": "95df01b4-ee98-5cb9-9903-4c221d41eb5e",
"region": "us-east-1",
"subject": "order.created",
"timestamp": "2026-01-10T10:00:00Z",
"topicArn": "arn:aws:sns:us-east-1:123456789012:orders-events",
"type": "Notification"
},
"timestamp": "2026-01-10T10:00:02.000000000Z",
"type": "aws.sns.topic.message"
}

The Copy Package Versions component copies one or more package versions from a source repository to a destination repository in the same domain.

  • Promotion: Copy approved versions from staging to production
  • Replication: Mirror packages across repositories
  • Migration: Move versions between repos in the same domain
{
"failedVersions": {},
"successfulVersions": {
"1.0.0": {
"revision": "REVISION1",
"status": "Published"
},
"1.0.1": {
"revision": "REVISION2",
"status": "Published"
}
}
}

The Create Repository component creates a new repository in an AWS CodeArtifact domain.

  • Automated setup: Create repositories as part of onboarding or pipeline setup
  • Environment replication: Mirror repository structure across domains
  • Workflow provisioning: Create a destination repository before copying packages
{
"repository": {
"administratorAccount": "123456789012",
"arn": "arn:aws:codeartifact:us-east-1:123456789012:repository/example-domain/my-repo",
"createdTime": 1706961600,
"description": "Example repository created by workflow",
"domainName": "example-domain",
"domainOwner": "123456789012",
"name": "my-repo"
}
}

The Delete Package Versions component permanently removes package versions and their assets. Deleted versions cannot be restored. To remove from view but keep the option to restore later, use Update Package Versions Status to set status to Archived instead.

  • Cleanup: Remove obsolete or invalid versions
  • Compliance: Permanently remove versions that must not be retained
  • Storage: Free space by deleting unused versions
{
"failedVersions": {},
"successfulVersions": {
"1.0.0": {
"revision": "REVISION1",
"status": "Deleted"
}
}
}

The Delete Repository component deletes a repository from an AWS CodeArtifact domain.

  • Cleanup: Remove repositories after migration or deprecation
  • Environment teardown: Delete temporary repositories created by workflows
  • Lifecycle management: Enforce retention by deleting old repositories
{
"repository": {
"administratorAccount": "123456789012",
"arn": "arn:aws:codeartifact:us-east-1:123456789012:repository/example-domain/my-repo",
"createdTime": 1706961600,
"description": "Deleted repository",
"domainName": "example-domain",
"domainOwner": "123456789012",
"name": "my-repo"
}
}

The Dispose Package Versions component deletes the assets of package versions and sets their status to Disposed. The version record remains so you can still see it in ListPackageVersions with status Disposed; assets cannot be restored.

  • Retention: Keep version metadata for audit while removing binary assets
  • Storage: Free asset storage while preserving version history
  • Lifecycle: Mark versions as disposed after a retention period
{
"failedVersions": {},
"successfulVersions": {
"1.0.0": {
"revision": "REVISION1",
"status": "Disposed"
}
}
}

The Get Package Version component retrieves metadata for a specific package version in AWS CodeArtifact.

  • Release automation: Resolve package metadata before promotion
  • Audit trails: Capture version details for reporting
  • Dependency checks: Validate status and origin of package versions
{
"data": {
"assets": [
{
"hashes": {
"sha256": "1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
},
"name": "example-package-1.2.3.tgz",
"size": 1234567890
}
],
"package": {
"displayName": "example-package",
"format": "npm",
"homePage": "https://example.com/example-package",
"licenses": [
{
"name": "MIT",
"url": "https://opensource.org/licenses/MIT"
}
],
"namespace": "@scope",
"origin": {
"domainEntryPoint": {
"externalConnectionName": "npmjs",
"repositoryName": "example-repo"
},
"originType": "EXTERNAL"
},
"packageName": "@scope/example-package",
"revision": "E30D52B451F42F41",
"sourceCodeRepository": "https://github.com/example/example-package",
"status": "Published",
"summary": "Example package for demonstration.",
"version": "1.2.3"
}
},
"timestamp": "2026-02-03T12:00:00Z",
"type": "aws.codeartifact.package.version"
}

CodeArtifact • Update Package Versions Status

Section titled “CodeArtifact • Update Package Versions Status”

The Update Package Versions Status component sets the status of package versions to Archived, Published, or Unlisted.

  • Lifecycle management: Archive old versions or publish after validation
  • Visibility: Unlist versions without deleting them
  • Compliance: Align version status with release policies
{
"failedVersions": {},
"successfulVersions": {
"1.0.0": {
"revision": "REVISION1",
"status": "Archived"
},
"1.0.1": {
"revision": "REVISION2",
"status": "Archived"
}
}
}

The Get Image component retrieves image metadata from an ECR repository by digest, tag, or both.

  • Release automation: Fetch image details before deployment
  • Audit trails: Resolve digests and tags for traceability
  • Security workflows: Enrich findings with image metadata
  • Region: AWS region of the ECR repository
  • Repository: ECR repository name or ARN
  • Image Digest: Digest of the image (optional)
  • Image Tag: Tag of the image (optional)

At least one of Image Digest or Image Tag is required. If both are provided, the request includes both.

{
"data": {
"artifactMediaType": "application/vnd.docker.container.image.v1+json",
"imageDigest": "sha256:8f1d3e4f5a6b7c8d9e0f11121314151617181920212223242526272829303132",
"imageManifestMediaType": "application/vnd.docker.distribution.manifest.v2+json",
"imagePushedAt": "2026-02-03T12:00:00Z",
"imageSizeInBytes": 48273912,
"imageTags": [
"latest",
"v1.2.3"
],
"registryId": "123456789012",
"repositoryName": "my-repo"
},
"timestamp": "2026-02-03T12:00:00Z",
"type": "aws.ecr.image"
}

The Get Image Scan Findings component retrieves vulnerability scan results for an ECR image.

  • Security automation: Pull scan findings to drive alerting or approvals
  • Compliance checks: Validate images against severity thresholds
  • Reporting: Capture scan summaries and findings for audits
  • Region: AWS region of the ECR repository
  • Repository: ECR repository name or ARN
  • Image Digest: Digest of the image (optional)
  • Image Tag: Tag of the image (optional)

At least one of Image Digest or Image Tag is required. If both are provided, the request includes both.

{
"data": {
"imageId": {
"imageDigest": "sha256:8f1d3e4f5a6b7c8d9e0f11121314151617181920212223242526272829303132",
"imageTag": "latest"
},
"imageScanFindings": {
"findingSeverityCounts": {
"HIGH": 1
},
"findings": [
{
"attributes": [
{
"key": "package_name",
"value": "openssl"
},
{
"key": "package_version",
"value": "1.1.1k"
}
],
"description": "Example vulnerability in a package.",
"name": "CVE-2024-12345",
"severity": "HIGH",
"uri": "https://example.com/cve-2024-12345"
}
],
"imageScanCompletedAt": "2026-02-03T12:05:00Z",
"vulnerabilitySourceUpdatedAt": "2026-02-03T00:00:00Z"
},
"imageScanStatus": {
"description": "Scan completed",
"status": "COMPLETE"
},
"registryId": "123456789012",
"repositoryName": "my-repo"
},
"timestamp": "2026-02-03T12:05:00Z",
"type": "aws.ecr.image.scanFindings"
}

The Scan Image component scans an ECR image for vulnerabilities.

  • Security automation: Scan images for vulnerabilities
  • Compliance checks: Validate images against severity thresholds
  • Reporting: Capture scan summaries and findings for audits
  • Region: AWS region of the ECR repository
  • Repository: ECR repository name or ARN
  • Image Digest: Digest of the image (optional)
  • Image Tag: Tag of the image (optional)

At least one of Image Digest or Image Tag is required. If both are provided, the request includes both.

{
"data": {
"imageId": {
"imageDigest": "sha256:8f1d3e4f5a6b7c8d9e0f11121314151617181920212223242526272829303132",
"imageTag": "latest"
},
"imageScanFindings": {
"findingSeverityCounts": {
"HIGH": 1
},
"findings": [
{
"attributes": [
{
"key": "package_name",
"value": "openssl"
},
{
"key": "package_version",
"value": "1.1.1k"
}
],
"description": "Example vulnerability in a package.",
"name": "CVE-2024-12345",
"severity": "HIGH",
"uri": "https://example.com/cve-2024-12345"
}
],
"imageScanCompletedAt": "2026-02-03T12:05:00Z",
"vulnerabilitySourceUpdatedAt": "2026-02-03T00:00:00Z"
},
"imageScanStatus": {
"description": "Scan completed",
"status": "COMPLETE"
},
"registryId": "123456789012",
"repositoryName": "my-repo"
},
"timestamp": "2026-02-03T12:05:00Z",
"type": "aws.ecr.image.scanFindings"
}

The Run Lambda component invokes a Lambda function.

  • Automated workflows: Trigger Lambda functions from SuperPlane workflows
  • Event processing: Process events from other applications
  • Data transformation: Transform data in real-time
  • API integrations: Call Lambda functions from other applications
  1. Invokes the specified Lambda function with the provided payload
  2. Returns the function’s response including status code, payload, and log output
  3. Optionally creates a new Lambda function from inline JavaScript code
{
"payload": {
"message": "hello from lambda"
},
"report": {
"billedDuration": "100 ms",
"duration": "89.81 ms",
"initDuration": "160.97 ms",
"maxMemoryUsed": "82 MB",
"memorySize": "128 MB"
},
"requestId": "9f8d2b5e-1c7a-4d62-8f1a-0f8b8e4f3a12"
}

The Create Topic component creates an AWS SNS topic and returns its metadata.

  • Provisioning workflows: Create topics as part of environment setup
  • Automation bootstrap: Prepare topics before publishing messages
  • Self-service operations: Provision messaging resources on demand
{
"data": {
"attributes": {
"DisplayName": "Orders Events",
"Owner": "123456789012",
"TopicArn": "arn:aws:sns:us-east-1:123456789012:orders-events"
},
"contentBasedDeduplication": false,
"displayName": "Orders Events",
"fifoTopic": false,
"name": "orders-events",
"owner": "123456789012",
"topicArn": "arn:aws:sns:us-east-1:123456789012:orders-events"
},
"timestamp": "2026-01-10T10:00:02.000000000Z",
"type": "aws.sns.topic"
}

The Delete Topic component deletes an AWS SNS topic.

  • Cleanup workflows: Remove temporary topics after execution
  • Lifecycle management: Decommission unused messaging resources
  • Rollback automation: Remove topics created in failed provisioning runs
{
"data": {
"deleted": true,
"topicArn": "arn:aws:sns:us-east-1:123456789012:orders-events"
},
"timestamp": "2026-01-10T10:00:02.000000000Z",
"type": "aws.sns.topic.deleted"
}

The Get Subscription component retrieves metadata and attributes for an AWS SNS subscription.

  • Subscription audits: Inspect endpoint and delivery configuration
  • Workflow enrichment: Load subscription metadata before downstream actions
  • Validation: Confirm subscription existence and protocol
{
"data": {
"attributes": {
"Endpoint": "https://example.com/sns/events",
"Protocol": "https",
"RawMessageDelivery": "true",
"TopicArn": "arn:aws:sns:us-east-1:123456789012:orders-events"
},
"endpoint": "https://example.com/sns/events",
"owner": "123456789012",
"pendingConfirmation": false,
"protocol": "https",
"rawMessageDelivery": true,
"subscriptionArn": "arn:aws:sns:us-east-1:123456789012:orders-events:7f8a3d50-f160-4d2d-8f8a-fb95d7f86a51",
"topicArn": "arn:aws:sns:us-east-1:123456789012:orders-events"
},
"timestamp": "2026-01-10T10:00:02.000000000Z",
"type": "aws.sns.subscription"
}

The Get Topic component retrieves metadata and attributes for an AWS SNS topic.

  • Configuration audits: Verify topic settings and attributes
  • Workflow enrichment: Load topic metadata before downstream actions
  • Validation: Confirm topic existence and ownership
{
"data": {
"attributes": {
"DisplayName": "Orders Events",
"Owner": "123456789012",
"TopicArn": "arn:aws:sns:us-east-1:123456789012:orders-events"
},
"contentBasedDeduplication": false,
"displayName": "Orders Events",
"fifoTopic": false,
"name": "orders-events",
"owner": "123456789012",
"topicArn": "arn:aws:sns:us-east-1:123456789012:orders-events"
},
"timestamp": "2026-01-10T10:00:02.000000000Z",
"type": "aws.sns.topic"
}

The Publish Message component sends a message to an AWS SNS topic.

  • Event fan-out: Broadcast workflow results to multiple subscribers
  • Notifications: Send operational updates to users and systems
  • Automation: Trigger downstream subscribers through SNS delivery
{
"data": {
"messageId": "a730a53a-a86d-5fcb-9ad1-ff72b8d0f104",
"topicArn": "arn:aws:sns:us-east-1:123456789012:orders-events"
},
"timestamp": "2026-01-10T10:00:02.000000000Z",
"type": "aws.sns.message.published"
}