aws.emrserverless.Application
Explore with Pulumi AI
Manages an EMR Serverless Application.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.emrserverless.Application("example", {
    name: "example",
    releaseLabel: "emr-6.6.0",
    type: "hive",
});
import pulumi
import pulumi_aws as aws
example = aws.emrserverless.Application("example",
    name="example",
    release_label="emr-6.6.0",
    type="hive")
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/emrserverless"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := emrserverless.NewApplication(ctx, "example", &emrserverless.ApplicationArgs{
			Name:         pulumi.String("example"),
			ReleaseLabel: pulumi.String("emr-6.6.0"),
			Type:         pulumi.String("hive"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var example = new Aws.EmrServerless.Application("example", new()
    {
        Name = "example",
        ReleaseLabel = "emr-6.6.0",
        Type = "hive",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.emrserverless.Application;
import com.pulumi.aws.emrserverless.ApplicationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var example = new Application("example", ApplicationArgs.builder()
            .name("example")
            .releaseLabel("emr-6.6.0")
            .type("hive")
            .build());
    }
}
resources:
  example:
    type: aws:emrserverless:Application
    properties:
      name: example
      releaseLabel: emr-6.6.0
      type: hive
Initial Capacity Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.emrserverless.Application("example", {
    name: "example",
    releaseLabel: "emr-6.6.0",
    type: "hive",
    initialCapacities: [{
        initialCapacityType: "HiveDriver",
        initialCapacityConfig: {
            workerCount: 1,
            workerConfiguration: {
                cpu: "2 vCPU",
                memory: "10 GB",
            },
        },
    }],
});
import pulumi
import pulumi_aws as aws
example = aws.emrserverless.Application("example",
    name="example",
    release_label="emr-6.6.0",
    type="hive",
    initial_capacities=[{
        "initial_capacity_type": "HiveDriver",
        "initial_capacity_config": {
            "worker_count": 1,
            "worker_configuration": {
                "cpu": "2 vCPU",
                "memory": "10 GB",
            },
        },
    }])
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/emrserverless"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := emrserverless.NewApplication(ctx, "example", &emrserverless.ApplicationArgs{
			Name:         pulumi.String("example"),
			ReleaseLabel: pulumi.String("emr-6.6.0"),
			Type:         pulumi.String("hive"),
			InitialCapacities: emrserverless.ApplicationInitialCapacityArray{
				&emrserverless.ApplicationInitialCapacityArgs{
					InitialCapacityType: pulumi.String("HiveDriver"),
					InitialCapacityConfig: &emrserverless.ApplicationInitialCapacityInitialCapacityConfigArgs{
						WorkerCount: pulumi.Int(1),
						WorkerConfiguration: &emrserverless.ApplicationInitialCapacityInitialCapacityConfigWorkerConfigurationArgs{
							Cpu:    pulumi.String("2 vCPU"),
							Memory: pulumi.String("10 GB"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var example = new Aws.EmrServerless.Application("example", new()
    {
        Name = "example",
        ReleaseLabel = "emr-6.6.0",
        Type = "hive",
        InitialCapacities = new[]
        {
            new Aws.EmrServerless.Inputs.ApplicationInitialCapacityArgs
            {
                InitialCapacityType = "HiveDriver",
                InitialCapacityConfig = new Aws.EmrServerless.Inputs.ApplicationInitialCapacityInitialCapacityConfigArgs
                {
                    WorkerCount = 1,
                    WorkerConfiguration = new Aws.EmrServerless.Inputs.ApplicationInitialCapacityInitialCapacityConfigWorkerConfigurationArgs
                    {
                        Cpu = "2 vCPU",
                        Memory = "10 GB",
                    },
                },
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.emrserverless.Application;
import com.pulumi.aws.emrserverless.ApplicationArgs;
import com.pulumi.aws.emrserverless.inputs.ApplicationInitialCapacityArgs;
import com.pulumi.aws.emrserverless.inputs.ApplicationInitialCapacityInitialCapacityConfigArgs;
import com.pulumi.aws.emrserverless.inputs.ApplicationInitialCapacityInitialCapacityConfigWorkerConfigurationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var example = new Application("example", ApplicationArgs.builder()
            .name("example")
            .releaseLabel("emr-6.6.0")
            .type("hive")
            .initialCapacities(ApplicationInitialCapacityArgs.builder()
                .initialCapacityType("HiveDriver")
                .initialCapacityConfig(ApplicationInitialCapacityInitialCapacityConfigArgs.builder()
                    .workerCount(1)
                    .workerConfiguration(ApplicationInitialCapacityInitialCapacityConfigWorkerConfigurationArgs.builder()
                        .cpu("2 vCPU")
                        .memory("10 GB")
                        .build())
                    .build())
                .build())
            .build());
    }
}
resources:
  example:
    type: aws:emrserverless:Application
    properties:
      name: example
      releaseLabel: emr-6.6.0
      type: hive
      initialCapacities:
        - initialCapacityType: HiveDriver
          initialCapacityConfig:
            workerCount: 1
            workerConfiguration:
              cpu: 2 vCPU
              memory: 10 GB
Maximum Capacity Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.emrserverless.Application("example", {
    name: "example",
    releaseLabel: "emr-6.6.0",
    type: "hive",
    maximumCapacity: {
        cpu: "2 vCPU",
        memory: "10 GB",
    },
});
import pulumi
import pulumi_aws as aws
example = aws.emrserverless.Application("example",
    name="example",
    release_label="emr-6.6.0",
    type="hive",
    maximum_capacity={
        "cpu": "2 vCPU",
        "memory": "10 GB",
    })
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/emrserverless"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := emrserverless.NewApplication(ctx, "example", &emrserverless.ApplicationArgs{
			Name:         pulumi.String("example"),
			ReleaseLabel: pulumi.String("emr-6.6.0"),
			Type:         pulumi.String("hive"),
			MaximumCapacity: &emrserverless.ApplicationMaximumCapacityArgs{
				Cpu:    pulumi.String("2 vCPU"),
				Memory: pulumi.String("10 GB"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var example = new Aws.EmrServerless.Application("example", new()
    {
        Name = "example",
        ReleaseLabel = "emr-6.6.0",
        Type = "hive",
        MaximumCapacity = new Aws.EmrServerless.Inputs.ApplicationMaximumCapacityArgs
        {
            Cpu = "2 vCPU",
            Memory = "10 GB",
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.emrserverless.Application;
import com.pulumi.aws.emrserverless.ApplicationArgs;
import com.pulumi.aws.emrserverless.inputs.ApplicationMaximumCapacityArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var example = new Application("example", ApplicationArgs.builder()
            .name("example")
            .releaseLabel("emr-6.6.0")
            .type("hive")
            .maximumCapacity(ApplicationMaximumCapacityArgs.builder()
                .cpu("2 vCPU")
                .memory("10 GB")
                .build())
            .build());
    }
}
resources:
  example:
    type: aws:emrserverless:Application
    properties:
      name: example
      releaseLabel: emr-6.6.0
      type: hive
      maximumCapacity:
        cpu: 2 vCPU
        memory: 10 GB
Create Application Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Application(name: string, args: ApplicationArgs, opts?: CustomResourceOptions);@overload
def Application(resource_name: str,
                args: ApplicationArgs,
                opts: Optional[ResourceOptions] = None)
@overload
def Application(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                release_label: Optional[str] = None,
                type: Optional[str] = None,
                architecture: Optional[str] = None,
                auto_start_configuration: Optional[ApplicationAutoStartConfigurationArgs] = None,
                auto_stop_configuration: Optional[ApplicationAutoStopConfigurationArgs] = None,
                image_configuration: Optional[ApplicationImageConfigurationArgs] = None,
                initial_capacities: Optional[Sequence[ApplicationInitialCapacityArgs]] = None,
                interactive_configuration: Optional[ApplicationInteractiveConfigurationArgs] = None,
                maximum_capacity: Optional[ApplicationMaximumCapacityArgs] = None,
                name: Optional[str] = None,
                network_configuration: Optional[ApplicationNetworkConfigurationArgs] = None,
                tags: Optional[Mapping[str, str]] = None)func NewApplication(ctx *Context, name string, args ApplicationArgs, opts ...ResourceOption) (*Application, error)public Application(string name, ApplicationArgs args, CustomResourceOptions? opts = null)
public Application(String name, ApplicationArgs args)
public Application(String name, ApplicationArgs args, CustomResourceOptions options)
type: aws:emrserverless:Application
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ApplicationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ApplicationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ApplicationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApplicationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ApplicationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampleapplicationResourceResourceFromEmrserverlessapplication = new Aws.EmrServerless.Application("exampleapplicationResourceResourceFromEmrserverlessapplication", new()
{
    ReleaseLabel = "string",
    Type = "string",
    Architecture = "string",
    AutoStartConfiguration = new Aws.EmrServerless.Inputs.ApplicationAutoStartConfigurationArgs
    {
        Enabled = false,
    },
    AutoStopConfiguration = new Aws.EmrServerless.Inputs.ApplicationAutoStopConfigurationArgs
    {
        Enabled = false,
        IdleTimeoutMinutes = 0,
    },
    ImageConfiguration = new Aws.EmrServerless.Inputs.ApplicationImageConfigurationArgs
    {
        ImageUri = "string",
    },
    InitialCapacities = new[]
    {
        new Aws.EmrServerless.Inputs.ApplicationInitialCapacityArgs
        {
            InitialCapacityType = "string",
            InitialCapacityConfig = new Aws.EmrServerless.Inputs.ApplicationInitialCapacityInitialCapacityConfigArgs
            {
                WorkerCount = 0,
                WorkerConfiguration = new Aws.EmrServerless.Inputs.ApplicationInitialCapacityInitialCapacityConfigWorkerConfigurationArgs
                {
                    Cpu = "string",
                    Memory = "string",
                    Disk = "string",
                },
            },
        },
    },
    InteractiveConfiguration = new Aws.EmrServerless.Inputs.ApplicationInteractiveConfigurationArgs
    {
        LivyEndpointEnabled = false,
        StudioEnabled = false,
    },
    MaximumCapacity = new Aws.EmrServerless.Inputs.ApplicationMaximumCapacityArgs
    {
        Cpu = "string",
        Memory = "string",
        Disk = "string",
    },
    Name = "string",
    NetworkConfiguration = new Aws.EmrServerless.Inputs.ApplicationNetworkConfigurationArgs
    {
        SecurityGroupIds = new[]
        {
            "string",
        },
        SubnetIds = new[]
        {
            "string",
        },
    },
    Tags = 
    {
        { "string", "string" },
    },
});
example, err := emrserverless.NewApplication(ctx, "exampleapplicationResourceResourceFromEmrserverlessapplication", &emrserverless.ApplicationArgs{
	ReleaseLabel: pulumi.String("string"),
	Type:         pulumi.String("string"),
	Architecture: pulumi.String("string"),
	AutoStartConfiguration: &emrserverless.ApplicationAutoStartConfigurationArgs{
		Enabled: pulumi.Bool(false),
	},
	AutoStopConfiguration: &emrserverless.ApplicationAutoStopConfigurationArgs{
		Enabled:            pulumi.Bool(false),
		IdleTimeoutMinutes: pulumi.Int(0),
	},
	ImageConfiguration: &emrserverless.ApplicationImageConfigurationArgs{
		ImageUri: pulumi.String("string"),
	},
	InitialCapacities: emrserverless.ApplicationInitialCapacityArray{
		&emrserverless.ApplicationInitialCapacityArgs{
			InitialCapacityType: pulumi.String("string"),
			InitialCapacityConfig: &emrserverless.ApplicationInitialCapacityInitialCapacityConfigArgs{
				WorkerCount: pulumi.Int(0),
				WorkerConfiguration: &emrserverless.ApplicationInitialCapacityInitialCapacityConfigWorkerConfigurationArgs{
					Cpu:    pulumi.String("string"),
					Memory: pulumi.String("string"),
					Disk:   pulumi.String("string"),
				},
			},
		},
	},
	InteractiveConfiguration: &emrserverless.ApplicationInteractiveConfigurationArgs{
		LivyEndpointEnabled: pulumi.Bool(false),
		StudioEnabled:       pulumi.Bool(false),
	},
	MaximumCapacity: &emrserverless.ApplicationMaximumCapacityArgs{
		Cpu:    pulumi.String("string"),
		Memory: pulumi.String("string"),
		Disk:   pulumi.String("string"),
	},
	Name: pulumi.String("string"),
	NetworkConfiguration: &emrserverless.ApplicationNetworkConfigurationArgs{
		SecurityGroupIds: pulumi.StringArray{
			pulumi.String("string"),
		},
		SubnetIds: pulumi.StringArray{
			pulumi.String("string"),
		},
	},
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var exampleapplicationResourceResourceFromEmrserverlessapplication = new Application("exampleapplicationResourceResourceFromEmrserverlessapplication", ApplicationArgs.builder()
    .releaseLabel("string")
    .type("string")
    .architecture("string")
    .autoStartConfiguration(ApplicationAutoStartConfigurationArgs.builder()
        .enabled(false)
        .build())
    .autoStopConfiguration(ApplicationAutoStopConfigurationArgs.builder()
        .enabled(false)
        .idleTimeoutMinutes(0)
        .build())
    .imageConfiguration(ApplicationImageConfigurationArgs.builder()
        .imageUri("string")
        .build())
    .initialCapacities(ApplicationInitialCapacityArgs.builder()
        .initialCapacityType("string")
        .initialCapacityConfig(ApplicationInitialCapacityInitialCapacityConfigArgs.builder()
            .workerCount(0)
            .workerConfiguration(ApplicationInitialCapacityInitialCapacityConfigWorkerConfigurationArgs.builder()
                .cpu("string")
                .memory("string")
                .disk("string")
                .build())
            .build())
        .build())
    .interactiveConfiguration(ApplicationInteractiveConfigurationArgs.builder()
        .livyEndpointEnabled(false)
        .studioEnabled(false)
        .build())
    .maximumCapacity(ApplicationMaximumCapacityArgs.builder()
        .cpu("string")
        .memory("string")
        .disk("string")
        .build())
    .name("string")
    .networkConfiguration(ApplicationNetworkConfigurationArgs.builder()
        .securityGroupIds("string")
        .subnetIds("string")
        .build())
    .tags(Map.of("string", "string"))
    .build());
exampleapplication_resource_resource_from_emrserverlessapplication = aws.emrserverless.Application("exampleapplicationResourceResourceFromEmrserverlessapplication",
    release_label="string",
    type="string",
    architecture="string",
    auto_start_configuration={
        "enabled": False,
    },
    auto_stop_configuration={
        "enabled": False,
        "idle_timeout_minutes": 0,
    },
    image_configuration={
        "image_uri": "string",
    },
    initial_capacities=[{
        "initial_capacity_type": "string",
        "initial_capacity_config": {
            "worker_count": 0,
            "worker_configuration": {
                "cpu": "string",
                "memory": "string",
                "disk": "string",
            },
        },
    }],
    interactive_configuration={
        "livy_endpoint_enabled": False,
        "studio_enabled": False,
    },
    maximum_capacity={
        "cpu": "string",
        "memory": "string",
        "disk": "string",
    },
    name="string",
    network_configuration={
        "security_group_ids": ["string"],
        "subnet_ids": ["string"],
    },
    tags={
        "string": "string",
    })
const exampleapplicationResourceResourceFromEmrserverlessapplication = new aws.emrserverless.Application("exampleapplicationResourceResourceFromEmrserverlessapplication", {
    releaseLabel: "string",
    type: "string",
    architecture: "string",
    autoStartConfiguration: {
        enabled: false,
    },
    autoStopConfiguration: {
        enabled: false,
        idleTimeoutMinutes: 0,
    },
    imageConfiguration: {
        imageUri: "string",
    },
    initialCapacities: [{
        initialCapacityType: "string",
        initialCapacityConfig: {
            workerCount: 0,
            workerConfiguration: {
                cpu: "string",
                memory: "string",
                disk: "string",
            },
        },
    }],
    interactiveConfiguration: {
        livyEndpointEnabled: false,
        studioEnabled: false,
    },
    maximumCapacity: {
        cpu: "string",
        memory: "string",
        disk: "string",
    },
    name: "string",
    networkConfiguration: {
        securityGroupIds: ["string"],
        subnetIds: ["string"],
    },
    tags: {
        string: "string",
    },
});
type: aws:emrserverless:Application
properties:
    architecture: string
    autoStartConfiguration:
        enabled: false
    autoStopConfiguration:
        enabled: false
        idleTimeoutMinutes: 0
    imageConfiguration:
        imageUri: string
    initialCapacities:
        - initialCapacityConfig:
            workerConfiguration:
                cpu: string
                disk: string
                memory: string
            workerCount: 0
          initialCapacityType: string
    interactiveConfiguration:
        livyEndpointEnabled: false
        studioEnabled: false
    maximumCapacity:
        cpu: string
        disk: string
        memory: string
    name: string
    networkConfiguration:
        securityGroupIds:
            - string
        subnetIds:
            - string
    releaseLabel: string
    tags:
        string: string
    type: string
Application Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Application resource accepts the following input properties:
- ReleaseLabel string
- The EMR release version associated with the application.
- Type string
- The type of application you want to start, such as sparkorhive.
- Architecture string
- The CPU architecture of an application. Valid values are ARM64orX86_64. Default value isX86_64.
- AutoStart ApplicationConfiguration Auto Start Configuration 
- The configuration for an application to automatically start on job submission.
- AutoStop ApplicationConfiguration Auto Stop Configuration 
- The configuration for an application to automatically stop after a certain amount of time being idle.
- ImageConfiguration ApplicationImage Configuration 
- The image configuration applied to all worker types.
- InitialCapacities List<ApplicationInitial Capacity> 
- The capacity to initialize when the application is created.
- InteractiveConfiguration ApplicationInteractive Configuration 
- Enables the interactive use cases to use when running an application.
- MaximumCapacity ApplicationMaximum Capacity 
- The maximum capacity to allocate when the application is created. This is cumulative across all workers at any given point in time, not just when an application is created. No new resources will be created once any one of the defined limits is hit.
- Name string
- The name of the application.
- NetworkConfiguration ApplicationNetwork Configuration 
- The network configuration for customer VPC connectivity.
- Dictionary<string, string>
- Key-value mapping of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- ReleaseLabel string
- The EMR release version associated with the application.
- Type string
- The type of application you want to start, such as sparkorhive.
- Architecture string
- The CPU architecture of an application. Valid values are ARM64orX86_64. Default value isX86_64.
- AutoStart ApplicationConfiguration Auto Start Configuration Args 
- The configuration for an application to automatically start on job submission.
- AutoStop ApplicationConfiguration Auto Stop Configuration Args 
- The configuration for an application to automatically stop after a certain amount of time being idle.
- ImageConfiguration ApplicationImage Configuration Args 
- The image configuration applied to all worker types.
- InitialCapacities []ApplicationInitial Capacity Args 
- The capacity to initialize when the application is created.
- InteractiveConfiguration ApplicationInteractive Configuration Args 
- Enables the interactive use cases to use when running an application.
- MaximumCapacity ApplicationMaximum Capacity Args 
- The maximum capacity to allocate when the application is created. This is cumulative across all workers at any given point in time, not just when an application is created. No new resources will be created once any one of the defined limits is hit.
- Name string
- The name of the application.
- NetworkConfiguration ApplicationNetwork Configuration Args 
- The network configuration for customer VPC connectivity.
- map[string]string
- Key-value mapping of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- releaseLabel String
- The EMR release version associated with the application.
- type String
- The type of application you want to start, such as sparkorhive.
- architecture String
- The CPU architecture of an application. Valid values are ARM64orX86_64. Default value isX86_64.
- autoStart ApplicationConfiguration Auto Start Configuration 
- The configuration for an application to automatically start on job submission.
- autoStop ApplicationConfiguration Auto Stop Configuration 
- The configuration for an application to automatically stop after a certain amount of time being idle.
- imageConfiguration ApplicationImage Configuration 
- The image configuration applied to all worker types.
- initialCapacities List<ApplicationInitial Capacity> 
- The capacity to initialize when the application is created.
- interactiveConfiguration ApplicationInteractive Configuration 
- Enables the interactive use cases to use when running an application.
- maximumCapacity ApplicationMaximum Capacity 
- The maximum capacity to allocate when the application is created. This is cumulative across all workers at any given point in time, not just when an application is created. No new resources will be created once any one of the defined limits is hit.
- name String
- The name of the application.
- networkConfiguration ApplicationNetwork Configuration 
- The network configuration for customer VPC connectivity.
- Map<String,String>
- Key-value mapping of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- releaseLabel string
- The EMR release version associated with the application.
- type string
- The type of application you want to start, such as sparkorhive.
- architecture string
- The CPU architecture of an application. Valid values are ARM64orX86_64. Default value isX86_64.
- autoStart ApplicationConfiguration Auto Start Configuration 
- The configuration for an application to automatically start on job submission.
- autoStop ApplicationConfiguration Auto Stop Configuration 
- The configuration for an application to automatically stop after a certain amount of time being idle.
- imageConfiguration ApplicationImage Configuration 
- The image configuration applied to all worker types.
- initialCapacities ApplicationInitial Capacity[] 
- The capacity to initialize when the application is created.
- interactiveConfiguration ApplicationInteractive Configuration 
- Enables the interactive use cases to use when running an application.
- maximumCapacity ApplicationMaximum Capacity 
- The maximum capacity to allocate when the application is created. This is cumulative across all workers at any given point in time, not just when an application is created. No new resources will be created once any one of the defined limits is hit.
- name string
- The name of the application.
- networkConfiguration ApplicationNetwork Configuration 
- The network configuration for customer VPC connectivity.
- {[key: string]: string}
- Key-value mapping of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- release_label str
- The EMR release version associated with the application.
- type str
- The type of application you want to start, such as sparkorhive.
- architecture str
- The CPU architecture of an application. Valid values are ARM64orX86_64. Default value isX86_64.
- auto_start_ Applicationconfiguration Auto Start Configuration Args 
- The configuration for an application to automatically start on job submission.
- auto_stop_ Applicationconfiguration Auto Stop Configuration Args 
- The configuration for an application to automatically stop after a certain amount of time being idle.
- image_configuration ApplicationImage Configuration Args 
- The image configuration applied to all worker types.
- initial_capacities Sequence[ApplicationInitial Capacity Args] 
- The capacity to initialize when the application is created.
- interactive_configuration ApplicationInteractive Configuration Args 
- Enables the interactive use cases to use when running an application.
- maximum_capacity ApplicationMaximum Capacity Args 
- The maximum capacity to allocate when the application is created. This is cumulative across all workers at any given point in time, not just when an application is created. No new resources will be created once any one of the defined limits is hit.
- name str
- The name of the application.
- network_configuration ApplicationNetwork Configuration Args 
- The network configuration for customer VPC connectivity.
- Mapping[str, str]
- Key-value mapping of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- releaseLabel String
- The EMR release version associated with the application.
- type String
- The type of application you want to start, such as sparkorhive.
- architecture String
- The CPU architecture of an application. Valid values are ARM64orX86_64. Default value isX86_64.
- autoStart Property MapConfiguration 
- The configuration for an application to automatically start on job submission.
- autoStop Property MapConfiguration 
- The configuration for an application to automatically stop after a certain amount of time being idle.
- imageConfiguration Property Map
- The image configuration applied to all worker types.
- initialCapacities List<Property Map>
- The capacity to initialize when the application is created.
- interactiveConfiguration Property Map
- Enables the interactive use cases to use when running an application.
- maximumCapacity Property Map
- The maximum capacity to allocate when the application is created. This is cumulative across all workers at any given point in time, not just when an application is created. No new resources will be created once any one of the defined limits is hit.
- name String
- The name of the application.
- networkConfiguration Property Map
- The network configuration for customer VPC connectivity.
- Map<String>
- Key-value mapping of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
Outputs
All input properties are implicitly available as output properties. Additionally, the Application resource produces the following output properties:
Look up Existing Application Resource
Get an existing Application resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ApplicationState, opts?: CustomResourceOptions): Application@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        architecture: Optional[str] = None,
        arn: Optional[str] = None,
        auto_start_configuration: Optional[ApplicationAutoStartConfigurationArgs] = None,
        auto_stop_configuration: Optional[ApplicationAutoStopConfigurationArgs] = None,
        image_configuration: Optional[ApplicationImageConfigurationArgs] = None,
        initial_capacities: Optional[Sequence[ApplicationInitialCapacityArgs]] = None,
        interactive_configuration: Optional[ApplicationInteractiveConfigurationArgs] = None,
        maximum_capacity: Optional[ApplicationMaximumCapacityArgs] = None,
        name: Optional[str] = None,
        network_configuration: Optional[ApplicationNetworkConfigurationArgs] = None,
        release_label: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None,
        type: Optional[str] = None) -> Applicationfunc GetApplication(ctx *Context, name string, id IDInput, state *ApplicationState, opts ...ResourceOption) (*Application, error)public static Application Get(string name, Input<string> id, ApplicationState? state, CustomResourceOptions? opts = null)public static Application get(String name, Output<String> id, ApplicationState state, CustomResourceOptions options)resources:  _:    type: aws:emrserverless:Application    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Architecture string
- The CPU architecture of an application. Valid values are ARM64orX86_64. Default value isX86_64.
- Arn string
- ARN of the cluster.
- AutoStart ApplicationConfiguration Auto Start Configuration 
- The configuration for an application to automatically start on job submission.
- AutoStop ApplicationConfiguration Auto Stop Configuration 
- The configuration for an application to automatically stop after a certain amount of time being idle.
- ImageConfiguration ApplicationImage Configuration 
- The image configuration applied to all worker types.
- InitialCapacities List<ApplicationInitial Capacity> 
- The capacity to initialize when the application is created.
- InteractiveConfiguration ApplicationInteractive Configuration 
- Enables the interactive use cases to use when running an application.
- MaximumCapacity ApplicationMaximum Capacity 
- The maximum capacity to allocate when the application is created. This is cumulative across all workers at any given point in time, not just when an application is created. No new resources will be created once any one of the defined limits is hit.
- Name string
- The name of the application.
- NetworkConfiguration ApplicationNetwork Configuration 
- The network configuration for customer VPC connectivity.
- ReleaseLabel string
- The EMR release version associated with the application.
- Dictionary<string, string>
- Key-value mapping of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- Type string
- The type of application you want to start, such as sparkorhive.
- Architecture string
- The CPU architecture of an application. Valid values are ARM64orX86_64. Default value isX86_64.
- Arn string
- ARN of the cluster.
- AutoStart ApplicationConfiguration Auto Start Configuration Args 
- The configuration for an application to automatically start on job submission.
- AutoStop ApplicationConfiguration Auto Stop Configuration Args 
- The configuration for an application to automatically stop after a certain amount of time being idle.
- ImageConfiguration ApplicationImage Configuration Args 
- The image configuration applied to all worker types.
- InitialCapacities []ApplicationInitial Capacity Args 
- The capacity to initialize when the application is created.
- InteractiveConfiguration ApplicationInteractive Configuration Args 
- Enables the interactive use cases to use when running an application.
- MaximumCapacity ApplicationMaximum Capacity Args 
- The maximum capacity to allocate when the application is created. This is cumulative across all workers at any given point in time, not just when an application is created. No new resources will be created once any one of the defined limits is hit.
- Name string
- The name of the application.
- NetworkConfiguration ApplicationNetwork Configuration Args 
- The network configuration for customer VPC connectivity.
- ReleaseLabel string
- The EMR release version associated with the application.
- map[string]string
- Key-value mapping of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- map[string]string
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- Type string
- The type of application you want to start, such as sparkorhive.
- architecture String
- The CPU architecture of an application. Valid values are ARM64orX86_64. Default value isX86_64.
- arn String
- ARN of the cluster.
- autoStart ApplicationConfiguration Auto Start Configuration 
- The configuration for an application to automatically start on job submission.
- autoStop ApplicationConfiguration Auto Stop Configuration 
- The configuration for an application to automatically stop after a certain amount of time being idle.
- imageConfiguration ApplicationImage Configuration 
- The image configuration applied to all worker types.
- initialCapacities List<ApplicationInitial Capacity> 
- The capacity to initialize when the application is created.
- interactiveConfiguration ApplicationInteractive Configuration 
- Enables the interactive use cases to use when running an application.
- maximumCapacity ApplicationMaximum Capacity 
- The maximum capacity to allocate when the application is created. This is cumulative across all workers at any given point in time, not just when an application is created. No new resources will be created once any one of the defined limits is hit.
- name String
- The name of the application.
- networkConfiguration ApplicationNetwork Configuration 
- The network configuration for customer VPC connectivity.
- releaseLabel String
- The EMR release version associated with the application.
- Map<String,String>
- Key-value mapping of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- type String
- The type of application you want to start, such as sparkorhive.
- architecture string
- The CPU architecture of an application. Valid values are ARM64orX86_64. Default value isX86_64.
- arn string
- ARN of the cluster.
- autoStart ApplicationConfiguration Auto Start Configuration 
- The configuration for an application to automatically start on job submission.
- autoStop ApplicationConfiguration Auto Stop Configuration 
- The configuration for an application to automatically stop after a certain amount of time being idle.
- imageConfiguration ApplicationImage Configuration 
- The image configuration applied to all worker types.
- initialCapacities ApplicationInitial Capacity[] 
- The capacity to initialize when the application is created.
- interactiveConfiguration ApplicationInteractive Configuration 
- Enables the interactive use cases to use when running an application.
- maximumCapacity ApplicationMaximum Capacity 
- The maximum capacity to allocate when the application is created. This is cumulative across all workers at any given point in time, not just when an application is created. No new resources will be created once any one of the defined limits is hit.
- name string
- The name of the application.
- networkConfiguration ApplicationNetwork Configuration 
- The network configuration for customer VPC connectivity.
- releaseLabel string
- The EMR release version associated with the application.
- {[key: string]: string}
- Key-value mapping of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- type string
- The type of application you want to start, such as sparkorhive.
- architecture str
- The CPU architecture of an application. Valid values are ARM64orX86_64. Default value isX86_64.
- arn str
- ARN of the cluster.
- auto_start_ Applicationconfiguration Auto Start Configuration Args 
- The configuration for an application to automatically start on job submission.
- auto_stop_ Applicationconfiguration Auto Stop Configuration Args 
- The configuration for an application to automatically stop after a certain amount of time being idle.
- image_configuration ApplicationImage Configuration Args 
- The image configuration applied to all worker types.
- initial_capacities Sequence[ApplicationInitial Capacity Args] 
- The capacity to initialize when the application is created.
- interactive_configuration ApplicationInteractive Configuration Args 
- Enables the interactive use cases to use when running an application.
- maximum_capacity ApplicationMaximum Capacity Args 
- The maximum capacity to allocate when the application is created. This is cumulative across all workers at any given point in time, not just when an application is created. No new resources will be created once any one of the defined limits is hit.
- name str
- The name of the application.
- network_configuration ApplicationNetwork Configuration Args 
- The network configuration for customer VPC connectivity.
- release_label str
- The EMR release version associated with the application.
- Mapping[str, str]
- Key-value mapping of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- type str
- The type of application you want to start, such as sparkorhive.
- architecture String
- The CPU architecture of an application. Valid values are ARM64orX86_64. Default value isX86_64.
- arn String
- ARN of the cluster.
- autoStart Property MapConfiguration 
- The configuration for an application to automatically start on job submission.
- autoStop Property MapConfiguration 
- The configuration for an application to automatically stop after a certain amount of time being idle.
- imageConfiguration Property Map
- The image configuration applied to all worker types.
- initialCapacities List<Property Map>
- The capacity to initialize when the application is created.
- interactiveConfiguration Property Map
- Enables the interactive use cases to use when running an application.
- maximumCapacity Property Map
- The maximum capacity to allocate when the application is created. This is cumulative across all workers at any given point in time, not just when an application is created. No new resources will be created once any one of the defined limits is hit.
- name String
- The name of the application.
- networkConfiguration Property Map
- The network configuration for customer VPC connectivity.
- releaseLabel String
- The EMR release version associated with the application.
- Map<String>
- Key-value mapping of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Map<String>
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- type String
- The type of application you want to start, such as sparkorhive.
Supporting Types
ApplicationAutoStartConfiguration, ApplicationAutoStartConfigurationArgs        
- Enabled bool
- Enables the application to automatically start on job submission. Defaults to true.
- Enabled bool
- Enables the application to automatically start on job submission. Defaults to true.
- enabled Boolean
- Enables the application to automatically start on job submission. Defaults to true.
- enabled boolean
- Enables the application to automatically start on job submission. Defaults to true.
- enabled bool
- Enables the application to automatically start on job submission. Defaults to true.
- enabled Boolean
- Enables the application to automatically start on job submission. Defaults to true.
ApplicationAutoStopConfiguration, ApplicationAutoStopConfigurationArgs        
- Enabled bool
- Enables the application to automatically stop after a certain amount of time being idle. Defaults to true.
- IdleTimeout intMinutes 
- The amount of idle time in minutes after which your application will automatically stop. Defaults to 15minutes.
- Enabled bool
- Enables the application to automatically stop after a certain amount of time being idle. Defaults to true.
- IdleTimeout intMinutes 
- The amount of idle time in minutes after which your application will automatically stop. Defaults to 15minutes.
- enabled Boolean
- Enables the application to automatically stop after a certain amount of time being idle. Defaults to true.
- idleTimeout IntegerMinutes 
- The amount of idle time in minutes after which your application will automatically stop. Defaults to 15minutes.
- enabled boolean
- Enables the application to automatically stop after a certain amount of time being idle. Defaults to true.
- idleTimeout numberMinutes 
- The amount of idle time in minutes after which your application will automatically stop. Defaults to 15minutes.
- enabled bool
- Enables the application to automatically stop after a certain amount of time being idle. Defaults to true.
- idle_timeout_ intminutes 
- The amount of idle time in minutes after which your application will automatically stop. Defaults to 15minutes.
- enabled Boolean
- Enables the application to automatically stop after a certain amount of time being idle. Defaults to true.
- idleTimeout NumberMinutes 
- The amount of idle time in minutes after which your application will automatically stop. Defaults to 15minutes.
ApplicationImageConfiguration, ApplicationImageConfigurationArgs      
- ImageUri string
- The image URI.
- ImageUri string
- The image URI.
- imageUri String
- The image URI.
- imageUri string
- The image URI.
- image_uri str
- The image URI.
- imageUri String
- The image URI.
ApplicationInitialCapacity, ApplicationInitialCapacityArgs      
- InitialCapacity stringType 
- The worker type for an analytics framework. For Spark applications, the key can either be set to DriverorExecutor. For Hive applications, it can be set toHiveDriverorTezTask.
- InitialCapacity ApplicationConfig Initial Capacity Initial Capacity Config 
- The initial capacity configuration per worker.
- InitialCapacity stringType 
- The worker type for an analytics framework. For Spark applications, the key can either be set to DriverorExecutor. For Hive applications, it can be set toHiveDriverorTezTask.
- InitialCapacity ApplicationConfig Initial Capacity Initial Capacity Config 
- The initial capacity configuration per worker.
- initialCapacity StringType 
- The worker type for an analytics framework. For Spark applications, the key can either be set to DriverorExecutor. For Hive applications, it can be set toHiveDriverorTezTask.
- initialCapacity ApplicationConfig Initial Capacity Initial Capacity Config 
- The initial capacity configuration per worker.
- initialCapacity stringType 
- The worker type for an analytics framework. For Spark applications, the key can either be set to DriverorExecutor. For Hive applications, it can be set toHiveDriverorTezTask.
- initialCapacity ApplicationConfig Initial Capacity Initial Capacity Config 
- The initial capacity configuration per worker.
- initial_capacity_ strtype 
- The worker type for an analytics framework. For Spark applications, the key can either be set to DriverorExecutor. For Hive applications, it can be set toHiveDriverorTezTask.
- initial_capacity_ Applicationconfig Initial Capacity Initial Capacity Config 
- The initial capacity configuration per worker.
- initialCapacity StringType 
- The worker type for an analytics framework. For Spark applications, the key can either be set to DriverorExecutor. For Hive applications, it can be set toHiveDriverorTezTask.
- initialCapacity Property MapConfig 
- The initial capacity configuration per worker.
ApplicationInitialCapacityInitialCapacityConfig, ApplicationInitialCapacityInitialCapacityConfigArgs            
- WorkerCount int
- The number of workers in the initial capacity configuration.
- WorkerConfiguration ApplicationInitial Capacity Initial Capacity Config Worker Configuration 
- The resource configuration of the initial capacity configuration.
- WorkerCount int
- The number of workers in the initial capacity configuration.
- WorkerConfiguration ApplicationInitial Capacity Initial Capacity Config Worker Configuration 
- The resource configuration of the initial capacity configuration.
- workerCount Integer
- The number of workers in the initial capacity configuration.
- workerConfiguration ApplicationInitial Capacity Initial Capacity Config Worker Configuration 
- The resource configuration of the initial capacity configuration.
- workerCount number
- The number of workers in the initial capacity configuration.
- workerConfiguration ApplicationInitial Capacity Initial Capacity Config Worker Configuration 
- The resource configuration of the initial capacity configuration.
- worker_count int
- The number of workers in the initial capacity configuration.
- worker_configuration ApplicationInitial Capacity Initial Capacity Config Worker Configuration 
- The resource configuration of the initial capacity configuration.
- workerCount Number
- The number of workers in the initial capacity configuration.
- workerConfiguration Property Map
- The resource configuration of the initial capacity configuration.
ApplicationInitialCapacityInitialCapacityConfigWorkerConfiguration, ApplicationInitialCapacityInitialCapacityConfigWorkerConfigurationArgs                
ApplicationInteractiveConfiguration, ApplicationInteractiveConfigurationArgs      
- LivyEndpoint boolEnabled 
- Enables an Apache Livy endpoint that you can connect to and run interactive jobs.
- StudioEnabled bool
- Enables you to connect an application to Amazon EMR Studio to run interactive workloads in a notebook.
- LivyEndpoint boolEnabled 
- Enables an Apache Livy endpoint that you can connect to and run interactive jobs.
- StudioEnabled bool
- Enables you to connect an application to Amazon EMR Studio to run interactive workloads in a notebook.
- livyEndpoint BooleanEnabled 
- Enables an Apache Livy endpoint that you can connect to and run interactive jobs.
- studioEnabled Boolean
- Enables you to connect an application to Amazon EMR Studio to run interactive workloads in a notebook.
- livyEndpoint booleanEnabled 
- Enables an Apache Livy endpoint that you can connect to and run interactive jobs.
- studioEnabled boolean
- Enables you to connect an application to Amazon EMR Studio to run interactive workloads in a notebook.
- livy_endpoint_ boolenabled 
- Enables an Apache Livy endpoint that you can connect to and run interactive jobs.
- studio_enabled bool
- Enables you to connect an application to Amazon EMR Studio to run interactive workloads in a notebook.
- livyEndpoint BooleanEnabled 
- Enables an Apache Livy endpoint that you can connect to and run interactive jobs.
- studioEnabled Boolean
- Enables you to connect an application to Amazon EMR Studio to run interactive workloads in a notebook.
ApplicationMaximumCapacity, ApplicationMaximumCapacityArgs      
ApplicationNetworkConfiguration, ApplicationNetworkConfigurationArgs      
- SecurityGroup List<string>Ids 
- The array of security group Ids for customer VPC connectivity.
- SubnetIds List<string>
- The array of subnet Ids for customer VPC connectivity.
- SecurityGroup []stringIds 
- The array of security group Ids for customer VPC connectivity.
- SubnetIds []string
- The array of subnet Ids for customer VPC connectivity.
- securityGroup List<String>Ids 
- The array of security group Ids for customer VPC connectivity.
- subnetIds List<String>
- The array of subnet Ids for customer VPC connectivity.
- securityGroup string[]Ids 
- The array of security group Ids for customer VPC connectivity.
- subnetIds string[]
- The array of subnet Ids for customer VPC connectivity.
- security_group_ Sequence[str]ids 
- The array of security group Ids for customer VPC connectivity.
- subnet_ids Sequence[str]
- The array of subnet Ids for customer VPC connectivity.
- securityGroup List<String>Ids 
- The array of security group Ids for customer VPC connectivity.
- subnetIds List<String>
- The array of subnet Ids for customer VPC connectivity.
Import
Using pulumi import, import EMR Severless applications using the id. For example:
$ pulumi import aws:emrserverless/application:Application example id
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.