Aws/m2
@swamp/aws/m2v2026.10.08.1
01README
AWS M2 infrastructure models
02Models
@swamp/aws/m2/applicationv2026.08.17.2application.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| Definition? | object | |
| Description? | string | |
| EngineType | enum | |
| KmsKeyId? | string | The ID or the Amazon Resource Name (ARN) of the customer managed KMS Key used for encrypting application-related resources. |
| Name | string | |
| RoleArn? | string | |
| Tags? | record |
fn create()
Create a M2 Application
fn get(identifier: string)
Get a M2 Application
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the M2 Application |
fn update()
Update a M2 Application
fn delete(identifier: string)
Delete a M2 Application
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the M2 Application |
fn sync()
Sync M2 Application state from AWS
fn list(maxPages?: number, resourceModel?: string)
List M2 Application resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON resource model for parent-scoped listing (e.g. parent identifier) |
Resources
state(infinite)— M2 Application resource state
@swamp/aws/m2/deploymentv2026.08.17.2deployment.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| EnvironmentId | string | The environment ID. |
| ApplicationId | string | The application ID. |
| ApplicationVersion | number | The version number of the application to deploy |
fn create()
Create a M2 Deployment
fn get(identifier: string)
Get a M2 Deployment
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the M2 Deployment |
fn update()
Update a M2 Deployment
fn delete(identifier: string)
Delete a M2 Deployment
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the M2 Deployment |
fn sync()
Sync M2 Deployment state from AWS
fn list(maxPages?: number, resourceModel?: string)
List M2 Deployment resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON resource model for parent-scoped listing (e.g. parent identifier) |
Resources
state(infinite)— M2 Deployment resource state
@swamp/aws/m2/environmentv2026.08.17.2environment.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| Description? | string | The description of the environment. |
| EngineType | enum | The target platform for the environment. |
| EngineVersion? | string | The version of the runtime engine for the environment. |
| HighAvailabilityConfig? | object | Defines the details of a high availability configuration. |
| InstanceType | string | The type of instance underlying the environment. |
| KmsKeyId? | string | The ID or the Amazon Resource Name (ARN) of the customer managed KMS Key used for encrypting environment-related resources. |
| Name | string | The name of the environment. |
| NetworkType? | enum | |
| PreferredMaintenanceWindow? | string | Configures a desired maintenance window for the environment. If you do not provide a value, a random system-generated value will be assigned. |
| PubliclyAccessible? | boolean | Specifies whether the environment is publicly accessible. |
| SecurityGroupIds? | array | The list of security groups for the VPC associated with this environment. |
| StorageConfigurations? | array | The storage configurations defined for the runtime environment. |
| SubnetIds? | array | The unique identifiers of the subnets assigned to this runtime environment. |
| Tags? | record | Tags associated to this environment. |
fn create()
Create a M2 Environment
fn get(identifier: string)
Get a M2 Environment
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the M2 Environment |
fn update()
Update a M2 Environment
fn delete(identifier: string)
Delete a M2 Environment
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the M2 Environment |
fn sync()
Sync M2 Environment state from AWS
fn list(maxPages?: number, resourceModel?: string)
List M2 Environment resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON resource model for parent-scoped listing (e.g. parent identifier) |
Resources
state(infinite)— M2 Environment resource state
03Previous Versions
2026.10.06.1
2026.10.04.1
2026.10.03.1
2026.10.02.1
2026.10.01.1
2026.09.30.1
2026.09.29.1
2026.09.28.1
2026.09.27.1
2026.09.26.1
2026.09.25.1
2026.09.24.1
2026.09.23.1
2026.09.22.1
2026.09.21.1
2026.09.20.1
2026.09.19.1
2026.09.18.1
2026.09.17.1
04Stats
A
100 / 100
Downloads
94
Archive size
615.0 KB
Verified by Swamp
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
05Platforms
06Labels