Skip to main content

Aws/emr

@swamp/aws/emrv2026.10.25.1· AGPL-3.0-or-later· 1d agoBEHAVIORS
01README

AWS EMR infrastructure models

02Release Notes
  • Updated: instance_fleet_config, instance_group_config
03Behaviors7
@swamp/aws/emr/instance-fleet-configv2026.10.25.1instance_fleet_config.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.
InstanceFleetTypestringThe node type that the instance fleet hosts.
TargetOnDemandCapacity?numberThe target capacity of On-Demand units for the instance fleet, which determines how many On-Demand instances to provision.
ClusterIdstringThe unique identifier of the EMR cluster.
TargetSpotCapacity?numberThe target capacity of Spot units for the instance fleet, which determines how many Spot instances to provision.
LaunchSpecifications?objectThe launch specification for the instance fleet.
ResizeSpecifications?objectThe resize specification for the instance fleet.
InstanceTypeConfigs?arrayInstanceTypeConfigs determine the EC2 instances that Amazon EMR attempts to provision to fulfill On-Demand and Spot target capacities.
Name?stringThe friendly name of the instance fleet.
fn create()
Create a EMR InstanceFleetConfig
fn get(identifier: string)
Get a EMR InstanceFleetConfig
ArgumentTypeDescription
identifierstringThe primary identifier of the EMR InstanceFleetConfig
fn update()
Update a EMR InstanceFleetConfig
fn delete(identifier: string)
Delete a EMR InstanceFleetConfig
ArgumentTypeDescription
identifierstringThe primary identifier of the EMR InstanceFleetConfig
fn sync()
Sync EMR InstanceFleetConfig state from AWS
fn list(maxPages?: number, resourceModel?: string)
List EMR InstanceFleetConfig 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)— EMR InstanceFleetConfig resource state
@swamp/aws/emr/instance-group-configv2026.10.25.1instance_group_config.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.
JobFlowIdstring
AutoScalingPolicy?object
BidPrice?string
InstanceCountnumber
EbsConfiguration?object
InstanceRolestring
CustomAmiId?string
Configurations?array
InstanceTypestring
Market?string
Name?string
fn create()
Create a EMR InstanceGroupConfig
fn get(identifier: string)
Get a EMR InstanceGroupConfig
ArgumentTypeDescription
identifierstringThe primary identifier of the EMR InstanceGroupConfig
fn update()
Update a EMR InstanceGroupConfig
fn delete(identifier: string)
Delete a EMR InstanceGroupConfig
ArgumentTypeDescription
identifierstringThe primary identifier of the EMR InstanceGroupConfig
fn sync()
Sync EMR InstanceGroupConfig state from AWS
fn list(maxPages?: number, resourceModel?: string)
List EMR InstanceGroupConfig 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)— EMR InstanceGroupConfig resource state
@swamp/aws/emr/security-configurationv2026.10.23.1security_configuration.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.
Name?stringThe name of the security configuration.
SecurityConfigurationrecordThe security configuration details in JSON format.
fn create()
Create a EMR SecurityConfiguration
fn get(identifier: string)
Get a EMR SecurityConfiguration
ArgumentTypeDescription
identifierstringThe primary identifier of the EMR SecurityConfiguration
fn delete(identifier: string)
Delete a EMR SecurityConfiguration
ArgumentTypeDescription
identifierstringThe primary identifier of the EMR SecurityConfiguration
fn sync()
Sync EMR SecurityConfiguration state from AWS
fn list(maxPages?: number, resourceModel?: string)
List EMR SecurityConfiguration 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)— EMR SecurityConfiguration resource state
@swamp/aws/emr/stepv2026.10.23.1step.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.
ActionOnFailurestringThis specifies what action to take when the cluster step fails. Possible values are CANCEL_AND_WAIT and CONTINUE.
HadoopJarStepobjectThe 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.
JobFlowIdstringA string that uniquely identifies the cluster (job flow).
NamestringThe name of the cluster step.
LogUri?stringThe Amazon S3 destination URI for log publishing. When omitted, EMR falls back to cluster-level logging behavior.
EncryptionKeyArn?stringThe 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
ArgumentTypeDescription
identifierstringThe primary identifier of the EMR Step
fn delete(identifier: string)
Delete a EMR Step
ArgumentTypeDescription
identifierstringThe primary identifier of the EMR Step
fn sync()
Sync EMR Step state from AWS
fn list(maxPages?: number, resourceModel?: string)
List EMR Step 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)— EMR Step resource state
@swamp/aws/emr/studiov2026.10.23.1studio.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.
AuthModeenumSpecifies whether the Studio authenticates users using single sign-on (SSO) or IAM. Amazon EMR Studio currently only supports SSO authentication.
DefaultS3LocationstringThe 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?stringA detailed description of the Studio.
EngineSecurityGroupIdstringThe 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.
NamestringA descriptive name for the Amazon EMR Studio.
ServiceRolestringThe 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.
SubnetIdsarrayA 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?arrayA 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?stringThe 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.
VpcIdstringThe ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate with the Studio.
WorkspaceSecurityGroupIdstringThe 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?stringYour 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?stringThe name of relay state parameter for external Identity Provider.
TrustedIdentityPropagationEnabled?booleanA Boolean indicating whether to enable Trusted identity propagation for the Studio. The default value is false.
IdcUserAssignment?enumSpecifies 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?stringThe ARN of the IAM Identity Center instance to create the Studio application.
EncryptionKeyArn?stringThe 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
ArgumentTypeDescription
identifierstringThe primary identifier of the EMR Studio
fn update()
Update a EMR Studio
fn delete(identifier: string)
Delete a EMR Studio
ArgumentTypeDescription
identifierstringThe primary identifier of the EMR Studio
fn sync()
Sync EMR Studio state from AWS
fn list(maxPages?: number, resourceModel?: string)
List EMR Studio 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)— EMR Studio resource state
@swamp/aws/emr/studio-session-mappingv2026.10.23.1studio_session_mapping.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.
IdentityNamestringThe 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.
IdentityTypeenumSpecifies whether the identity to map to the Studio is a user or a group.
SessionPolicyArnstringThe 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.
StudioIdstringThe 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
ArgumentTypeDescription
identifierstringThe primary identifier of the EMR StudioSessionMapping
fn update()
Update a EMR StudioSessionMapping
fn delete(identifier: string)
Delete a EMR StudioSessionMapping
ArgumentTypeDescription
identifierstringThe primary identifier of the EMR StudioSessionMapping
fn sync()
Sync EMR StudioSessionMapping state from AWS
fn list(maxPages?: number, resourceModel?: string)
List EMR StudioSessionMapping 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)— EMR StudioSessionMapping resource state
@swamp/aws/emr/walworkspacev2026.10.23.1walworkspace.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.
WALWorkspaceName?stringThe name of the emrwal container
Tags?arrayAn array of key-value pairs to apply to this resource.
fn create()
Create a EMR WALWorkspace
fn get(identifier: string)
Get a EMR WALWorkspace
ArgumentTypeDescription
identifierstringThe primary identifier of the EMR WALWorkspace
fn update()
Update a EMR WALWorkspace
fn delete(identifier: string)
Delete a EMR WALWorkspace
ArgumentTypeDescription
identifierstringThe primary identifier of the EMR WALWorkspace
fn sync()
Sync EMR WALWorkspace state from AWS
fn list(maxPages?: number, resourceModel?: string)
List EMR WALWorkspace 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)— EMR WALWorkspace resource state
04Previous Versions19
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