ProfileConfigurationProperty Struct
Specifies the job and session values that an admin configures in an AWS Glue usage profile.
| 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_glue as glue } from 'aws-cdk-lib';
const profileConfigurationProperty: glue.CfnUsageProfile.ProfileConfigurationProperty = {
jobConfiguration: {
jobConfigurationKey: {
allowedValues: ['allowedValues'],
defaultValue: 'defaultValue',
maxValue: 'maxValue',
minValue: 'minValue',
},
},
sessionConfiguration: {
sessionConfigurationKey: {
allowedValues: ['allowedValues'],
defaultValue: 'defaultValue',
maxValue: 'maxValue',
minValue: 'minValue',
},
},
};
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_glue as glue
profile_configuration_property = glue.CfnUsageProfile.ProfileConfigurationProperty(
job_configuration={
"job_configuration_key": glue.CfnUsageProfile.ConfigurationObjectProperty(
allowed_values=["allowedValues"],
default_value="defaultValue",
max_value="maxValue",
min_value="minValue"
)
},
session_configuration={
"session_configuration_key": glue.CfnUsageProfile.ConfigurationObjectProperty(
allowed_values=["allowedValues"],
default_value="defaultValue",
max_value="maxValue",
min_value="minValue"
)
}
)
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.glue.*;
ProfileConfigurationProperty profileConfigurationProperty = ProfileConfigurationProperty.builder()
.jobConfiguration(Map.of(
"jobConfigurationKey", ConfigurationObjectProperty.builder()
.allowedValues(List.of("allowedValues"))
.defaultValue("defaultValue")
.maxValue("maxValue")
.minValue("minValue")
.build()))
.sessionConfiguration(Map.of(
"sessionConfigurationKey", ConfigurationObjectProperty.builder()
.allowedValues(List.of("allowedValues"))
.defaultValue("defaultValue")
.maxValue("maxValue")
.minValue("minValue")
.build()))
.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.Glue;
var profileConfigurationProperty = new ProfileConfigurationProperty {
JobConfiguration = new Dictionary<string, object> {
{ "jobConfigurationKey", new ConfigurationObjectProperty {
AllowedValues = new [] { "allowedValues" },
DefaultValue = "defaultValue",
MaxValue = "maxValue",
MinValue = "minValue"
} }
},
SessionConfiguration = new Dictionary<string, object> {
{ "sessionConfigurationKey", new ConfigurationObjectProperty {
AllowedValues = new [] { "allowedValues" },
DefaultValue = "defaultValue",
MaxValue = "maxValue",
MinValue = "minValue"
} }
}
};
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"
profileConfigurationProperty := &ProfileConfigurationProperty{
JobConfiguration: map[string]interface{}{
"jobConfigurationKey": &ConfigurationObjectProperty{
"allowedValues": []*string{
jsii.String("allowedValues"),
},
"defaultValue": jsii.String("defaultValue"),
"maxValue": jsii.String("maxValue"),
"minValue": jsii.String("minValue"),
},
},
SessionConfiguration: map[string]interface{}{
"sessionConfigurationKey": &ConfigurationObjectProperty{
"allowedValues": []*string{
jsii.String("allowedValues"),
},
"defaultValue": jsii.String("defaultValue"),
"maxValue": jsii.String("maxValue"),
"minValue": jsii.String("minValue"),
},
},
}
Properties
jobConfigurationoptionalIResolvable | { [key: string]: IResolvable | CfnUsageProfile.job_configurationoptionaltyping.Union[IResolvable, typing.Mapping[str, typing.Union[IResolvable, ConfigurationObjectProperty]]]jobConfigurationoptionalIResolvableJobConfigurationoptionalIResolvableJobConfigurationoptionalinterface{} #A key-value map of configuration parameters for AWS Glue jobs.
sessionConfigurationoptionalIResolvable | { [key: string]: IResolvable | CfnUsageProfile.session_configurationoptionaltyping.Union[IResolvable, typing.Mapping[str, typing.Union[IResolvable, ConfigurationObjectProperty]]]sessionConfigurationoptionalIResolvableSessionConfigurationoptionalIResolvableSessionConfigurationoptionalinterface{} #A key-value map of configuration parameters for AWS Glue sessions.