Try AWS Native preview for resources not in the classic version.
aws.emrserverless.Application
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
Manages an EMR Serverless Application.
Example Usage
Basic Usage
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()
{
ReleaseLabel = "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{
ReleaseLabel: pulumi.String("emr-6.6.0"),
Type: pulumi.String("hive"),
})
if err != nil {
return err
}
return nil
})
}
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()
.releaseLabel("emr-6.6.0")
.type("hive")
.build());
}
}
import pulumi
import pulumi_aws as aws
example = aws.emrserverless.Application("example",
release_label="emr-6.6.0",
type="hive")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.emrserverless.Application("example", {
releaseLabel: "emr-6.6.0",
type: "hive",
});
resources:
example:
type: aws:emrserverless:Application
properties:
releaseLabel: emr-6.6.0
type: hive
Initial Capacity Usage
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()
{
InitialCapacities = new[]
{
new Aws.EmrServerless.Inputs.ApplicationInitialCapacityArgs
{
InitialCapacityConfig = new Aws.EmrServerless.Inputs.ApplicationInitialCapacityInitialCapacityConfigArgs
{
WorkerConfiguration = new Aws.EmrServerless.Inputs.ApplicationInitialCapacityInitialCapacityConfigWorkerConfigurationArgs
{
Cpu = "2 vCPU",
Memory = "10 GB",
},
WorkerCount = 1,
},
InitialCapacityType = "HiveDriver",
},
},
ReleaseLabel = "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{
InitialCapacities: emrserverless.ApplicationInitialCapacityArray{
&emrserverless.ApplicationInitialCapacityArgs{
InitialCapacityConfig: &emrserverless.ApplicationInitialCapacityInitialCapacityConfigArgs{
WorkerConfiguration: &emrserverless.ApplicationInitialCapacityInitialCapacityConfigWorkerConfigurationArgs{
Cpu: pulumi.String("2 vCPU"),
Memory: pulumi.String("10 GB"),
},
WorkerCount: pulumi.Int(1),
},
InitialCapacityType: pulumi.String("HiveDriver"),
},
},
ReleaseLabel: pulumi.String("emr-6.6.0"),
Type: pulumi.String("hive"),
})
if err != nil {
return err
}
return nil
})
}
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()
.initialCapacities(ApplicationInitialCapacityArgs.builder()
.initialCapacityConfig(ApplicationInitialCapacityInitialCapacityConfigArgs.builder()
.workerConfiguration(ApplicationInitialCapacityInitialCapacityConfigWorkerConfigurationArgs.builder()
.cpu("2 vCPU")
.memory("10 GB")
.build())
.workerCount(1)
.build())
.initialCapacityType("HiveDriver")
.build())
.releaseLabel("emr-6.6.0")
.type("hive")
.build());
}
}
import pulumi
import pulumi_aws as aws
example = aws.emrserverless.Application("example",
initial_capacities=[aws.emrserverless.ApplicationInitialCapacityArgs(
initial_capacity_config=aws.emrserverless.ApplicationInitialCapacityInitialCapacityConfigArgs(
worker_configuration=aws.emrserverless.ApplicationInitialCapacityInitialCapacityConfigWorkerConfigurationArgs(
cpu="2 vCPU",
memory="10 GB",
),
worker_count=1,
),
initial_capacity_type="HiveDriver",
)],
release_label="emr-6.6.0",
type="hive")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.emrserverless.Application("example", {
initialCapacities: [{
initialCapacityConfig: {
workerConfiguration: {
cpu: "2 vCPU",
memory: "10 GB",
},
workerCount: 1,
},
initialCapacityType: "HiveDriver",
}],
releaseLabel: "emr-6.6.0",
type: "hive",
});
resources:
example:
type: aws:emrserverless:Application
properties:
initialCapacities:
- initialCapacityConfig:
workerConfiguration:
cpu: 2 vCPU
memory: 10 GB
workerCount: 1
initialCapacityType: HiveDriver
releaseLabel: emr-6.6.0
type: hive
Maximum Capacity Usage
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()
{
MaximumCapacity = new Aws.EmrServerless.Inputs.ApplicationMaximumCapacityArgs
{
Cpu = "2 vCPU",
Memory = "10 GB",
},
ReleaseLabel = "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{
MaximumCapacity: &emrserverless.ApplicationMaximumCapacityArgs{
Cpu: pulumi.String("2 vCPU"),
Memory: pulumi.String("10 GB"),
},
ReleaseLabel: pulumi.String("emr-6.6.0"),
Type: pulumi.String("hive"),
})
if err != nil {
return err
}
return nil
})
}
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()
.maximumCapacity(ApplicationMaximumCapacityArgs.builder()
.cpu("2 vCPU")
.memory("10 GB")
.build())
.releaseLabel("emr-6.6.0")
.type("hive")
.build());
}
}
import pulumi
import pulumi_aws as aws
example = aws.emrserverless.Application("example",
maximum_capacity=aws.emrserverless.ApplicationMaximumCapacityArgs(
cpu="2 vCPU",
memory="10 GB",
),
release_label="emr-6.6.0",
type="hive")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.emrserverless.Application("example", {
maximumCapacity: {
cpu: "2 vCPU",
memory: "10 GB",
},
releaseLabel: "emr-6.6.0",
type: "hive",
});
resources:
example:
type: aws:emrserverless:Application
properties:
maximumCapacity:
cpu: 2 vCPU
memory: 10 GB
releaseLabel: emr-6.6.0
type: hive
Create Application Resource
new Application(name: string, args: ApplicationArgs, opts?: CustomResourceOptions);
@overload
def Application(resource_name: str,
opts: Optional[ResourceOptions] = 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,
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,
type: Optional[str] = None)
@overload
def Application(resource_name: str,
args: ApplicationArgs,
opts: Optional[ResourceOptions] = 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.
- 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.
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
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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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,
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.
- 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.Please use
tags
instead.- 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.
- 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.Please use
tags
instead.- 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.
- 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.Please use
tags
instead.- 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.
- 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.Please use
tags
instead.- 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.
- 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.Please use
tags
instead.- 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.
- 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.Please use
tags
instead.- 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
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
In TODO v1.5.0 and later, use an import
block to import EMR Severless applications using the id
. For exampleterraform import {
to = aws_emrserverless_application.example
id = “id” } Using TODO import
, import EMR Severless applications using the id
. For exampleconsole % TODO import aws_emrserverless_application.example id
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
aws
Terraform Provider.
Try AWS Native preview for resources not in the classic version.