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:
- Release
Label string - The EMR release version associated with the application.
- Type string
- The type of application you want to start, such as
spark
orhive
. - Architecture string
- The CPU architecture of an application. Valid values are
ARM64
orX86_64
. Default value isX86_64
. - Auto
Start ApplicationConfiguration Auto Start Configuration - The configuration for an application to automatically start on job submission.
- Auto
Stop ApplicationConfiguration Auto Stop Configuration - The configuration for an application to automatically stop after a certain amount of time being idle.
- Image
Configuration ApplicationImage Configuration - The image configuration applied to all worker types.
- Initial
Capacities List<ApplicationInitial Capacity> - The capacity to initialize when the application is created.
- Interactive
Configuration ApplicationInteractive Configuration - Enables the interactive use cases to use when running an application.
- Maximum
Capacity 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.
- Network
Configuration ApplicationNetwork Configuration - The network configuration for customer VPC connectivity.
- Dictionary<string, string>
- Key-value mapping of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- Release
Label string - The EMR release version associated with the application.
- Type string
- The type of application you want to start, such as
spark
orhive
. - Architecture string
- The CPU architecture of an application. Valid values are
ARM64
orX86_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 []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 string
- The name of the application.
- Network
Configuration 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_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- release
Label String - The EMR release version associated with the application.
- type String
- The type of application you want to start, such as
spark
orhive
. - architecture String
- The CPU architecture of an application. Valid values are
ARM64
orX86_64
. Default value isX86_64
. - auto
Start ApplicationConfiguration Auto Start Configuration - The configuration for an application to automatically start on job submission.
- auto
Stop ApplicationConfiguration Auto Stop Configuration - The configuration for an application to automatically stop after a certain amount of time being idle.
- image
Configuration ApplicationImage Configuration - The image configuration applied to all worker types.
- initial
Capacities List<ApplicationInitial Capacity> - The capacity to initialize when the application is created.
- interactive
Configuration ApplicationInteractive Configuration - Enables the interactive use cases to use when running an application.
- maximum
Capacity 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.
- network
Configuration ApplicationNetwork Configuration - The network configuration for customer VPC connectivity.
- Map<String,String>
- Key-value mapping of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- release
Label string - The EMR release version associated with the application.
- type string
- The type of application you want to start, such as
spark
orhive
. - architecture string
- The CPU architecture of an application. Valid values are
ARM64
orX86_64
. Default value isX86_64
. - auto
Start ApplicationConfiguration Auto Start Configuration - The configuration for an application to automatically start on job submission.
- auto
Stop ApplicationConfiguration Auto Stop Configuration - The configuration for an application to automatically stop after a certain amount of time being idle.
- image
Configuration ApplicationImage Configuration - The image configuration applied to all worker types.
- initial
Capacities ApplicationInitial Capacity[] - The capacity to initialize when the application is created.
- interactive
Configuration ApplicationInteractive Configuration - Enables the interactive use cases to use when running an application.
- maximum
Capacity 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.
- network
Configuration ApplicationNetwork Configuration - The network configuration for customer VPC connectivity.
- {[key: string]: string}
- Key-value mapping of resource tags. If configured with a provider
default_tags
configuration 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
spark
orhive
. - architecture str
- The CPU architecture of an application. Valid values are
ARM64
orX86_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_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- release
Label String - The EMR release version associated with the application.
- type String
- The type of application you want to start, such as
spark
orhive
. - architecture String
- The CPU architecture of an application. Valid values are
ARM64
orX86_64
. Default value isX86_64
. - auto
Start Property MapConfiguration - The configuration for an application to automatically start on job submission.
- auto
Stop Property MapConfiguration - The configuration for an application to automatically stop after a certain amount of time being idle.
- image
Configuration Property Map - The image configuration applied to all worker types.
- initial
Capacities List<Property Map> - The capacity to initialize when the application is created.
- interactive
Configuration Property Map - Enables the interactive use cases to use when running an application.
- maximum
Capacity 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.
- network
Configuration Property Map - The network configuration for customer VPC connectivity.
- Map<String>
- Key-value mapping of resource tags. If configured with a provider
default_tags
configuration 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) -> Application
func 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)
Resource lookup is not supported in YAML
- 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
ARM64
orX86_64
. Default value isX86_64
. - Arn string
- ARN of the cluster.
- Auto
Start ApplicationConfiguration Auto Start Configuration - The configuration for an application to automatically start on job submission.
- Auto
Stop ApplicationConfiguration Auto Stop Configuration - The configuration for an application to automatically stop after a certain amount of time being idle.
- Image
Configuration ApplicationImage Configuration - The image configuration applied to all worker types.
- Initial
Capacities List<ApplicationInitial Capacity> - The capacity to initialize when the application is created.
- Interactive
Configuration ApplicationInteractive Configuration - Enables the interactive use cases to use when running an application.
- Maximum
Capacity 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.
- Network
Configuration ApplicationNetwork Configuration - The network configuration for customer VPC connectivity.
- Release
Label string - The EMR release version associated with the application.
- Dictionary<string, string>
- Key-value mapping of resource tags. If configured with a provider
default_tags
configuration 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_tags
configuration block. - Type string
- The type of application you want to start, such as
spark
orhive
.
- Architecture string
- The CPU architecture of an application. Valid values are
ARM64
orX86_64
. Default value isX86_64
. - Arn string
- 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 []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 string
- The name of the application.
- Network
Configuration ApplicationNetwork Configuration Args - The network configuration for customer VPC connectivity.
- Release
Label string - The EMR release version associated with the application.
- map[string]string
- Key-value mapping of resource tags. If configured with a provider
default_tags
configuration 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_tags
configuration block. - Type string
- The type of application you want to start, such as
spark
orhive
.
- architecture String
- The CPU architecture of an application. Valid values are
ARM64
orX86_64
. Default value isX86_64
. - arn String
- ARN of the cluster.
- auto
Start ApplicationConfiguration Auto Start Configuration - The configuration for an application to automatically start on job submission.
- auto
Stop ApplicationConfiguration Auto Stop Configuration - The configuration for an application to automatically stop after a certain amount of time being idle.
- image
Configuration ApplicationImage Configuration - The image configuration applied to all worker types.
- initial
Capacities List<ApplicationInitial Capacity> - The capacity to initialize when the application is created.
- interactive
Configuration ApplicationInteractive Configuration - Enables the interactive use cases to use when running an application.
- maximum
Capacity 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.
- network
Configuration ApplicationNetwork Configuration - The network configuration for customer VPC connectivity.
- release
Label String - The EMR release version associated with the application.
- Map<String,String>
- Key-value mapping of resource tags. If configured with a provider
default_tags
configuration 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_tags
configuration block. - type String
- The type of application you want to start, such as
spark
orhive
.
- architecture string
- The CPU architecture of an application. Valid values are
ARM64
orX86_64
. Default value isX86_64
. - arn string
- ARN of the cluster.
- auto
Start ApplicationConfiguration Auto Start Configuration - The configuration for an application to automatically start on job submission.
- auto
Stop ApplicationConfiguration Auto Stop Configuration - The configuration for an application to automatically stop after a certain amount of time being idle.
- image
Configuration ApplicationImage Configuration - The image configuration applied to all worker types.
- initial
Capacities ApplicationInitial Capacity[] - The capacity to initialize when the application is created.
- interactive
Configuration ApplicationInteractive Configuration - Enables the interactive use cases to use when running an application.
- maximum
Capacity 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.
- network
Configuration ApplicationNetwork Configuration - The network configuration for customer VPC connectivity.
- release
Label string - The EMR release version associated with the application.
- {[key: string]: string}
- Key-value mapping of resource tags. If configured with a provider
default_tags
configuration 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_tags
configuration block. - type string
- The type of application you want to start, such as
spark
orhive
.
- architecture str
- The CPU architecture of an application. Valid values are
ARM64
orX86_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_tags
configuration 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_tags
configuration block. - type str
- The type of application you want to start, such as
spark
orhive
.
- architecture String
- The CPU architecture of an application. Valid values are
ARM64
orX86_64
. Default value isX86_64
. - arn String
- ARN of the cluster.
- auto
Start Property MapConfiguration - The configuration for an application to automatically start on job submission.
- auto
Stop Property MapConfiguration - The configuration for an application to automatically stop after a certain amount of time being idle.
- image
Configuration Property Map - The image configuration applied to all worker types.
- initial
Capacities List<Property Map> - The capacity to initialize when the application is created.
- interactive
Configuration Property Map - Enables the interactive use cases to use when running an application.
- maximum
Capacity 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.
- network
Configuration Property Map - The network configuration for customer VPC connectivity.
- release
Label String - The EMR release version associated with the application.
- Map<String>
- Key-value mapping of resource tags. If configured with a provider
default_tags
configuration 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_tags
configuration block. - type String
- The type of application you want to start, such as
spark
orhive
.
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
. - Idle
Timeout intMinutes - The amount of idle time in minutes after which your application will automatically stop. Defaults to
15
minutes.
- 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
15
minutes.
- enabled Boolean
- Enables the application to automatically stop after a certain amount of time being idle. Defaults to
true
. - idle
Timeout IntegerMinutes - The amount of idle time in minutes after which your application will automatically stop. Defaults to
15
minutes.
- enabled boolean
- Enables the application to automatically stop after a certain amount of time being idle. Defaults to
true
. - idle
Timeout numberMinutes - The amount of idle time in minutes after which your application will automatically stop. Defaults to
15
minutes.
- 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
15
minutes.
- enabled Boolean
- Enables the application to automatically stop after a certain amount of time being idle. Defaults to
true
. - idle
Timeout NumberMinutes - The amount of idle time in minutes after which your application will automatically stop. Defaults to
15
minutes.
ApplicationImageConfiguration, ApplicationImageConfigurationArgs
- Image
Uri string - The image URI.
- Image
Uri string - The image URI.
- image
Uri String - The image URI.
- image
Uri string - The image URI.
- image_
uri str - The image URI.
- image
Uri String - The image URI.
ApplicationInitialCapacity, ApplicationInitialCapacityArgs
- Initial
Capacity stringType - The worker type for an analytics framework. For Spark applications, the key can either be set to
Driver
orExecutor
. For Hive applications, it can be set toHiveDriver
orTezTask
. - Initial
Capacity ApplicationConfig Initial Capacity Initial Capacity Config - The initial capacity configuration per worker.
- Initial
Capacity stringType - The worker type for an analytics framework. For Spark applications, the key can either be set to
Driver
orExecutor
. For Hive applications, it can be set toHiveDriver
orTezTask
. - Initial
Capacity ApplicationConfig Initial Capacity Initial Capacity Config - The initial capacity configuration per worker.
- initial
Capacity StringType - The worker type for an analytics framework. For Spark applications, the key can either be set to
Driver
orExecutor
. For Hive applications, it can be set toHiveDriver
orTezTask
. - initial
Capacity ApplicationConfig Initial Capacity Initial Capacity Config - The initial capacity configuration per worker.
- initial
Capacity stringType - The worker type for an analytics framework. For Spark applications, the key can either be set to
Driver
orExecutor
. For Hive applications, it can be set toHiveDriver
orTezTask
. - initial
Capacity 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
Driver
orExecutor
. For Hive applications, it can be set toHiveDriver
orTezTask
. - initial_
capacity_ Applicationconfig Initial Capacity Initial Capacity Config - The initial capacity configuration per worker.
- initial
Capacity StringType - The worker type for an analytics framework. For Spark applications, the key can either be set to
Driver
orExecutor
. For Hive applications, it can be set toHiveDriver
orTezTask
. - initial
Capacity Property MapConfig - The initial capacity configuration per worker.
ApplicationInitialCapacityInitialCapacityConfig, ApplicationInitialCapacityInitialCapacityConfigArgs
- 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.
- 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.
- worker
Count Integer - 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.
- worker
Count number - 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.
- 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.
- worker
Count Number - The number of workers in the initial capacity configuration.
- worker
Configuration Property Map - The resource configuration of the initial capacity configuration.
ApplicationInitialCapacityInitialCapacityConfigWorkerConfiguration, ApplicationInitialCapacityInitialCapacityConfigWorkerConfigurationArgs
ApplicationInteractiveConfiguration, ApplicationInteractiveConfigurationArgs
- 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.
- 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.
- livy
Endpoint BooleanEnabled - Enables an Apache Livy endpoint that you can connect to and run interactive jobs.
- studio
Enabled Boolean - Enables you to connect an application to Amazon EMR Studio to run interactive workloads in a notebook.
- livy
Endpoint booleanEnabled - Enables an Apache Livy endpoint that you can connect to and run interactive jobs.
- studio
Enabled 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.
- livy
Endpoint BooleanEnabled - Enables an Apache Livy endpoint that you can connect to and run interactive jobs.
- studio
Enabled Boolean - Enables you to connect an application to Amazon EMR Studio to run interactive workloads in a notebook.
ApplicationMaximumCapacity, ApplicationMaximumCapacityArgs
ApplicationNetworkConfiguration, ApplicationNetworkConfigurationArgs
- Security
Group List<string>Ids - The array of security group Ids for customer VPC connectivity.
- Subnet
Ids List<string> - The array of subnet Ids for customer VPC connectivity.
- Security
Group []stringIds - The array of security group Ids for customer VPC connectivity.
- Subnet
Ids []string - The array of subnet Ids for customer VPC connectivity.
- security
Group List<String>Ids - The array of security group Ids for customer VPC connectivity.
- subnet
Ids List<String> - The array of subnet Ids for customer VPC connectivity.
- security
Group string[]Ids - The array of security group Ids for customer VPC connectivity.
- subnet
Ids 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.
- security
Group List<String>Ids - The array of security group Ids for customer VPC connectivity.
- subnet
Ids 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
aws
Terraform Provider.