ConfigurationProperty Struct
Configurations is a property of the AWS::EMR::Cluster resource that specifies the configuration of applications on an Amazon EMR cluster.
Configurations are optional. You can use them to have EMR customize applications and software bundled with Amazon EMR when a cluster is created. A configuration consists of a classification, properties, and optional nested configurations. A classification refers to an application-specific configuration file. Properties are the settings you want to change in that file. For more information, see Configuring Applications .
Applies only to Amazon EMR releases 4.0 and later.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_emr as emr } from 'aws-cdk-lib';
declare const configurationProperty_: emr.CfnInstanceGroupConfig.ConfigurationProperty;
const configurationProperty: emr.CfnInstanceGroupConfig.ConfigurationProperty = {
classification: 'classification',
configurationProperties: {
configurationPropertiesKey: 'configurationProperties',
},
configurations: [configurationProperty_],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_emr as emr
# configuration_property_: emr.CfnInstanceGroupConfig.ConfigurationProperty
configuration_property = emr.CfnInstanceGroupConfig.ConfigurationProperty(
classification="classification",
configuration_properties={
"configuration_properties_key": "configurationProperties"
},
configurations=[configuration_property_]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.emr.*;
ConfigurationProperty configurationProperty_;
ConfigurationProperty configurationProperty = ConfigurationProperty.builder()
.classification("classification")
.configurationProperties(Map.of(
"configurationPropertiesKey", "configurationProperties"))
.configurations(List.of(configurationProperty_))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EMR;
ConfigurationProperty configurationProperty_;
var configurationProperty = new ConfigurationProperty {
Classification = "classification",
ConfigurationProperties = new Dictionary<string, string> {
{ "configurationPropertiesKey", "configurationProperties" }
},
Configurations = new [] { configurationProperty_ }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
var configurationProperty_ ConfigurationProperty
configurationProperty := &ConfigurationProperty{
Classification: jsii.String("classification"),
ConfigurationProperties: map[string]*string{
"configurationPropertiesKey": jsii.String("configurationProperties"),
},
Configurations: []interface{}{
configurationProperty_,
},
}
Properties
classificationoptionalstringclassificationoptionalstrclassificationoptionalStringClassificationoptionalstringClassificationoptional*string #The classification within a configuration.
configurationPropertiesoptionalIResolvable | { [key: string]: string }configuration_propertiesoptionaltyping.Union[IResolvable, typing.Mapping[str, str]]configurationPropertiesoptionalIResolvableConfigurationPropertiesoptionalIResolvableConfigurationPropertiesoptionalinterface{} #Within a configuration classification, a set of properties that represent the settings that you want to change in the configuration file.
Duplicates not allowed.
configurationsoptionalIResolvable | IResolvable | CfnInstanceGroupConfig.configurationsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ConfigurationProperty]]]configurationsoptionalIResolvableConfigurationsoptionalIResolvableConfigurationsoptionalinterface{} #A list of additional configurations to apply within a configuration object.