Aws/emr
@swamp/aws/emrv2026.10.25.1
01README
AWS EMR infrastructure models
02Release Notes
- Updated: instance_fleet_config, instance_group_config
03Behaviors
@swamp/aws/emr/instance-fleet-configv2026.10.25.1instance_fleet_config.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. |
| InstanceFleetType | string | The node type that the instance fleet hosts. |
| TargetOnDemandCapacity? | number | The target capacity of On-Demand units for the instance fleet, which determines how many On-Demand instances to provision. |
| ClusterId | string | The unique identifier of the EMR cluster. |
| TargetSpotCapacity? | number | The target capacity of Spot units for the instance fleet, which determines how many Spot instances to provision. |
| LaunchSpecifications? | object | The launch specification for the instance fleet. |
| ResizeSpecifications? | object | The resize specification for the instance fleet. |
| InstanceTypeConfigs? | array | InstanceTypeConfigs determine the EC2 instances that Amazon EMR attempts to provision to fulfill On-Demand and Spot target capacities. |
| Name? | string | The friendly name of the instance fleet. |
fn create()
Create a EMR InstanceFleetConfig
fn get(identifier: string)
Get a EMR InstanceFleetConfig
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the EMR InstanceFleetConfig |
fn update()
Update a EMR InstanceFleetConfig
fn delete(identifier: string)
Delete a EMR InstanceFleetConfig
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the EMR InstanceFleetConfig |
fn sync()
Sync EMR InstanceFleetConfig state from AWS
fn list(maxPages?: number, resourceModel?: string)
List EMR InstanceFleetConfig 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)— EMR InstanceFleetConfig resource state
@swamp/aws/emr/instance-group-configv2026.10.25.1instance_group_config.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. |
| JobFlowId | string | |
| AutoScalingPolicy? | object | |
| BidPrice? | string | |
| InstanceCount | number | |
| EbsConfiguration? | object | |
| InstanceRole | string | |
| CustomAmiId? | string | |
| Configurations? | array | |
| InstanceType | string | |
| Market? | string | |
| Name? | string |
fn create()
Create a EMR InstanceGroupConfig
fn get(identifier: string)
Get a EMR InstanceGroupConfig
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the EMR InstanceGroupConfig |
fn update()
Update a EMR InstanceGroupConfig
fn delete(identifier: string)
Delete a EMR InstanceGroupConfig
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the EMR InstanceGroupConfig |
fn sync()
Sync EMR InstanceGroupConfig state from AWS
fn list(maxPages?: number, resourceModel?: string)
List EMR InstanceGroupConfig 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)— EMR InstanceGroupConfig resource state
@swamp/aws/emr/security-configurationv2026.10.23.1security_configuration.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. |
| Name? | string | The name of the security configuration. |
| SecurityConfiguration | record | The security configuration details in JSON format. |
fn create()
Create a EMR SecurityConfiguration
fn get(identifier: string)
Get a EMR SecurityConfiguration
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the EMR SecurityConfiguration |
fn delete(identifier: string)
Delete a EMR SecurityConfiguration
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the EMR SecurityConfiguration |
fn sync()
Sync EMR SecurityConfiguration state from AWS
fn list(maxPages?: number, resourceModel?: string)
List EMR SecurityConfiguration 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)— EMR SecurityConfiguration resource state
@swamp/aws/emr/stepv2026.10.23.1step.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. |
| ActionOnFailure | string | This specifies what action to take when the cluster step fails. Possible values are CANCEL_AND_WAIT and CONTINUE. |
| HadoopJarStep | object | The HadoopJarStepConfig property type specifies a job flow step consisting of a JAR file whose main function will be executed. The main function submits a job for the cluster to execute as a step on the master node, and then waits for the job to finish or fail before executing subsequent steps. |
| JobFlowId | string | A string that uniquely identifies the cluster (job flow). |
| Name | string | The name of the cluster step. |
| LogUri? | string | The Amazon S3 destination URI for log publishing. When omitted, EMR falls back to cluster-level logging behavior. |
| EncryptionKeyArn? | string | The KMS key ARN to encrypt the logs published to the given Amazon S3 destination. When omitted, EMR falls back to cluster-level logging behavior. |
fn create()
Create a EMR Step
fn get(identifier: string)
Get a EMR Step
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the EMR Step |
fn delete(identifier: string)
Delete a EMR Step
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the EMR Step |
fn sync()
Sync EMR Step state from AWS
fn list(maxPages?: number, resourceModel?: string)
List EMR Step 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)— EMR Step resource state
@swamp/aws/emr/studiov2026.10.23.1studio.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. |
| AuthMode | enum | Specifies whether the Studio authenticates users using single sign-on (SSO) or IAM. Amazon EMR Studio currently only supports SSO authentication. |
| DefaultS3Location | string | The default Amazon S3 location to back up EMR Studio Workspaces and notebook files. A Studio user can select an alternative Amazon S3 location when creating a Workspace. |
| Description? | string | A detailed description of the Studio. |
| EngineSecurityGroupId | string | The ID of the Amazon EMR Studio Engine security group. The Engine security group allows inbound network traffic from the Workspace security group, and it must be in the same VPC specified by VpcId. |
| Name | string | A descriptive name for the Amazon EMR Studio. |
| ServiceRole | string | The IAM role that will be assumed by the Amazon EMR Studio. The service role provides a way for Amazon EMR Studio to interoperate with other AWS services. |
| SubnetIds | array | A list of up to 5 subnet IDs to associate with the Studio. The subnets must belong to the VPC specified by VpcId. Studio users can create a Workspace in any of the specified subnets. |
| Tags? | array | A list of tags to associate with the Studio. Tags are user-defined key-value pairs that consist of a required key string with a maximum of 128 characters, and an optional value string with a maximum of 256 characters. |
| UserRole? | string | The IAM user role that will be assumed by users and groups logged in to a Studio. The permissions attached to this IAM role can be scoped down for each user or group using session policies. |
| VpcId | string | The ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate with the Studio. |
| WorkspaceSecurityGroupId | string | The ID of the Amazon EMR Studio Workspace security group. The Workspace security group allows outbound network traffic to resources in the Engine security group, and it must be in the same VPC specified by VpcId. |
| IdpAuthUrl? | string | Your identity provider's authentication endpoint. Amazon EMR Studio redirects federated users to this endpoint for authentication when logging in to a Studio with the Studio URL. |
| IdpRelayStateParameterName? | string | The name of relay state parameter for external Identity Provider. |
| TrustedIdentityPropagationEnabled? | boolean | A Boolean indicating whether to enable Trusted identity propagation for the Studio. The default value is false. |
| IdcUserAssignment? | enum | Specifies whether IAM Identity Center user assignment is REQUIRED or OPTIONAL. If the value is set to REQUIRED, users must be explicitly assigned to the Studio application to access the Studio. |
| IdcInstanceArn? | string | The ARN of the IAM Identity Center instance to create the Studio application. |
| EncryptionKeyArn? | string | The AWS KMS key identifier (ARN) used to encrypt AWS EMR Studio workspace and notebook files when backed up to AWS S3. |
fn create()
Create a EMR Studio
fn get(identifier: string)
Get a EMR Studio
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the EMR Studio |
fn update()
Update a EMR Studio
fn delete(identifier: string)
Delete a EMR Studio
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the EMR Studio |
fn sync()
Sync EMR Studio state from AWS
fn list(maxPages?: number, resourceModel?: string)
List EMR Studio 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)— EMR Studio resource state
@swamp/aws/emr/studio-session-mappingv2026.10.23.1studio_session_mapping.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. |
| IdentityName | string | The name of the user or group. For more information, see UserName and DisplayName in the AWS SSO Identity Store API Reference. Either IdentityName or IdentityId must be specified. |
| IdentityType | enum | Specifies whether the identity to map to the Studio is a user or a group. |
| SessionPolicyArn | string | The Amazon Resource Name (ARN) for the session policy that will be applied to the user or group. Session policies refine Studio user permissions without the need to use multiple IAM user roles. |
| StudioId | string | The ID of the Amazon EMR Studio to which the user or group will be mapped. |
fn create()
Create a EMR StudioSessionMapping
fn get(identifier: string)
Get a EMR StudioSessionMapping
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the EMR StudioSessionMapping |
fn update()
Update a EMR StudioSessionMapping
fn delete(identifier: string)
Delete a EMR StudioSessionMapping
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the EMR StudioSessionMapping |
fn sync()
Sync EMR StudioSessionMapping state from AWS
fn list(maxPages?: number, resourceModel?: string)
List EMR StudioSessionMapping 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)— EMR StudioSessionMapping resource state
@swamp/aws/emr/walworkspacev2026.10.23.1walworkspace.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. |
| WALWorkspaceName? | string | The name of the emrwal container |
| Tags? | array | An array of key-value pairs to apply to this resource. |
fn create()
Create a EMR WALWorkspace
fn get(identifier: string)
Get a EMR WALWorkspace
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the EMR WALWorkspace |
fn update()
Update a EMR WALWorkspace
fn delete(identifier: string)
Delete a EMR WALWorkspace
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the EMR WALWorkspace |
fn sync()
Sync EMR WALWorkspace state from AWS
fn list(maxPages?: number, resourceModel?: string)
List EMR WALWorkspace 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)— EMR WALWorkspace resource state
04Previous Versions
2026.10.24.1AGPL-3.0-or-later
2026.10.23.1AGPL-3.0-or-later
- Updated: instance_fleet_config, instance_group_config, security_configuration, step, studio, studio_session_mapping, walworkspace
2026.10.22.1AGPL-3.0-or-later(was none)
- Updated: step
Modified 1 behaviors
2026.10.13.1
- Updated: instance_fleet_config, instance_group_config, security_configuration, step, studio, studio_session_mapping, walworkspace
2026.10.09.1
- Added: instance_fleet_config
Added 1 behaviors
2026.10.08.1
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
- Added: instance_group_config
Added 1 behaviors
2026.09.23.1
05Stats
A
100 / 100
Downloads
25
Archive size
1.4 MB
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
- Docs keep secrets in a vault1/1earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License2/2earned
- Verified public repository2/2earned
06Platforms
07Labels