Class CfnApplication
The AWS::EMRServerless::Application
resource specifies an EMR Serverless application.
Inherited Members
Namespace: Amazon.CDK.AWS.EMRServerless
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnApplication : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnApplication
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
An application uses open source analytics frameworks to run jobs that process data. To create an application, you must specify the release version for the open source framework version you want to use and the type of application you want, such as Apache Spark or Apache Hive. After you create an application, you can submit data processing jobs or interactive requests to it.
CloudformationResource: AWS::EMRServerless::Application
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EMRServerless;
ConfigurationObjectProperty configurationObjectProperty_;
var cfnApplication = new CfnApplication(this, "MyCfnApplication", new CfnApplicationProps {
ReleaseLabel = "releaseLabel",
Type = "type",
// the properties below are optional
Architecture = "architecture",
AutoStartConfiguration = new AutoStartConfigurationProperty {
Enabled = false
},
AutoStopConfiguration = new AutoStopConfigurationProperty {
Enabled = false,
IdleTimeoutMinutes = 123
},
ImageConfiguration = new ImageConfigurationInputProperty {
ImageUri = "imageUri"
},
InitialCapacity = new [] { new InitialCapacityConfigKeyValuePairProperty {
Key = "key",
Value = new InitialCapacityConfigProperty {
WorkerConfiguration = new WorkerConfigurationProperty {
Cpu = "cpu",
Memory = "memory",
// the properties below are optional
Disk = "disk"
},
WorkerCount = 123
}
} },
MaximumCapacity = new MaximumAllowedResourcesProperty {
Cpu = "cpu",
Memory = "memory",
// the properties below are optional
Disk = "disk"
},
MonitoringConfiguration = new MonitoringConfigurationProperty {
CloudWatchLoggingConfiguration = new CloudWatchLoggingConfigurationProperty {
Enabled = false,
EncryptionKeyArn = "encryptionKeyArn",
LogGroupName = "logGroupName",
LogStreamNamePrefix = "logStreamNamePrefix",
LogTypeMap = new [] { new LogTypeMapKeyValuePairProperty {
Key = "key",
Value = new [] { "value" }
} }
},
ManagedPersistenceMonitoringConfiguration = new ManagedPersistenceMonitoringConfigurationProperty {
Enabled = false,
EncryptionKeyArn = "encryptionKeyArn"
},
S3MonitoringConfiguration = new S3MonitoringConfigurationProperty {
EncryptionKeyArn = "encryptionKeyArn",
LogUri = "logUri"
}
},
Name = "name",
NetworkConfiguration = new NetworkConfigurationProperty {
SecurityGroupIds = new [] { "securityGroupIds" },
SubnetIds = new [] { "subnetIds" }
},
RuntimeConfiguration = new [] { new ConfigurationObjectProperty {
Classification = "classification",
// the properties below are optional
Configurations = new [] { configurationObjectProperty_ },
Properties = new Dictionary<string, string> {
{ "propertiesKey", "properties" }
}
} },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
WorkerTypeSpecifications = new Dictionary<string, object> {
{ "workerTypeSpecificationsKey", new WorkerTypeSpecificationInputProperty {
ImageConfiguration = new ImageConfigurationInputProperty {
ImageUri = "imageUri"
}
} }
}
});
Synopsis
Constructors
CfnApplication(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnApplication(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnApplication(Construct, String, ICfnApplicationProps) |
Properties
Architecture | The CPU architecture of an application. |
AttrApplicationId | The ID of the application, such as |
AttrArn | The Amazon Resource Name (ARN) of the project. |
AutoStartConfiguration | The configuration for an application to automatically start on job submission. |
AutoStopConfiguration | The configuration for an application to automatically stop after a certain amount of time being idle. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
ImageConfiguration | The image configuration applied to all worker types. |
InitialCapacity | The initial capacity of the application. |
MaximumCapacity | The maximum capacity of the application. |
MonitoringConfiguration | A configuration specification to be used when provisioning an application. |
Name | The name of the application. |
NetworkConfiguration | The network configuration for customer VPC connectivity for the application. |
ReleaseLabel | The EMR release associated with the application. |
RuntimeConfiguration | The Configuration specifications of an application. Each configuration consists of a classification and properties. You use this parameter when creating or updating an application. To see the runtimeConfiguration object of an application, run the GetApplication API operation. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | The tags assigned to the application. |
Type | The type of application, such as Spark or Hive. |
WorkerTypeSpecifications | The specification applied to each worker type. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnApplication(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnApplication(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnApplication(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnApplication(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnApplication(Construct, String, ICfnApplicationProps)
public CfnApplication(Construct scope, string id, ICfnApplicationProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnApplicationProps
Resource properties.
Properties
Architecture
The CPU architecture of an application.
public virtual string Architecture { get; set; }
Property Value
System.String
AttrApplicationId
The ID of the application, such as ab4rp1abcs8xz47n3x0example
.
public virtual string AttrApplicationId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: ApplicationId
AttrArn
The Amazon Resource Name (ARN) of the project.
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Arn
AutoStartConfiguration
The configuration for an application to automatically start on job submission.
public virtual object AutoStartConfiguration { get; set; }
Property Value
System.Object
AutoStopConfiguration
The configuration for an application to automatically stop after a certain amount of time being idle.
public virtual object AutoStopConfiguration { get; set; }
Property Value
System.Object
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
ImageConfiguration
The image configuration applied to all worker types.
public virtual object ImageConfiguration { get; set; }
Property Value
System.Object
InitialCapacity
The initial capacity of the application.
public virtual object InitialCapacity { get; set; }
Property Value
System.Object
MaximumCapacity
The maximum capacity of the application.
public virtual object MaximumCapacity { get; set; }
Property Value
System.Object
MonitoringConfiguration
A configuration specification to be used when provisioning an application.
public virtual object MonitoringConfiguration { get; set; }
Property Value
System.Object
Name
The name of the application.
public virtual string Name { get; set; }
Property Value
System.String
NetworkConfiguration
The network configuration for customer VPC connectivity for the application.
public virtual object NetworkConfiguration { get; set; }
Property Value
System.Object
ReleaseLabel
The EMR release associated with the application.
public virtual string ReleaseLabel { get; set; }
Property Value
System.String
RuntimeConfiguration
The Configuration specifications of an application. Each configuration consists of a classification and properties. You use this parameter when creating or updating an application. To see the runtimeConfiguration object of an application, run the GetApplication API operation.
public virtual object RuntimeConfiguration { get; set; }
Property Value
System.Object
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
The tags assigned to the application.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
Type
The type of application, such as Spark or Hive.
public virtual string Type { get; set; }
Property Value
System.String
WorkerTypeSpecifications
The specification applied to each worker type.
public virtual object WorkerTypeSpecifications { get; set; }
Property Value
System.Object
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>