Skip to main content

Aws/m2

@swamp/aws/m2v2026.10.08.1· 1d agoMODELS
01README

AWS M2 infrastructure models

02Models3
@swamp/aws/m2/applicationv2026.08.17.2application.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
Definition?object
Description?string
EngineTypeenum
KmsKeyId?stringThe ID or the Amazon Resource Name (ARN) of the customer managed KMS Key used for encrypting application-related resources.
Namestring
RoleArn?string
Tags?record
fn create()
Create a M2 Application
fn get(identifier: string)
Get a M2 Application
ArgumentTypeDescription
identifierstringThe primary identifier of the M2 Application
fn update()
Update a M2 Application
fn delete(identifier: string)
Delete a M2 Application
ArgumentTypeDescription
identifierstringThe primary identifier of the M2 Application
fn sync()
Sync M2 Application state from AWS
fn list(maxPages?: number, resourceModel?: string)
List M2 Application resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON 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

ArgumentTypeDescription
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
EnvironmentIdstringThe environment ID.
ApplicationIdstringThe application ID.
ApplicationVersionnumberThe version number of the application to deploy
fn create()
Create a M2 Deployment
fn get(identifier: string)
Get a M2 Deployment
ArgumentTypeDescription
identifierstringThe primary identifier of the M2 Deployment
fn update()
Update a M2 Deployment
fn delete(identifier: string)
Delete a M2 Deployment
ArgumentTypeDescription
identifierstringThe primary identifier of the M2 Deployment
fn sync()
Sync M2 Deployment state from AWS
fn list(maxPages?: number, resourceModel?: string)
List M2 Deployment resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
Description?stringThe description of the environment.
EngineTypeenumThe target platform for the environment.
EngineVersion?stringThe version of the runtime engine for the environment.
HighAvailabilityConfig?objectDefines the details of a high availability configuration.
InstanceTypestringThe type of instance underlying the environment.
KmsKeyId?stringThe ID or the Amazon Resource Name (ARN) of the customer managed KMS Key used for encrypting environment-related resources.
NamestringThe name of the environment.
NetworkType?enum
PreferredMaintenanceWindow?stringConfigures a desired maintenance window for the environment. If you do not provide a value, a random system-generated value will be assigned.
PubliclyAccessible?booleanSpecifies whether the environment is publicly accessible.
SecurityGroupIds?arrayThe list of security groups for the VPC associated with this environment.
StorageConfigurations?arrayThe storage configurations defined for the runtime environment.
SubnetIds?arrayThe unique identifiers of the subnets assigned to this runtime environment.
Tags?recordTags associated to this environment.
fn create()
Create a M2 Environment
fn get(identifier: string)
Get a M2 Environment
ArgumentTypeDescription
identifierstringThe primary identifier of the M2 Environment
fn update()
Update a M2 Environment
fn delete(identifier: string)
Delete a M2 Environment
ArgumentTypeDescription
identifierstringThe primary identifier of the M2 Environment
fn sync()
Sync M2 Environment state from AWS
fn list(maxPages?: number, resourceModel?: string)
List M2 Environment resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

state(infinite)— M2 Environment resource state
03Previous Versions19
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