# ProfileConfigurationProperty

Specifies the job and session values that an admin configures in an AWS Glue usage profile.

- Source: Generated at build time
- Type last changed: v2.163.0 · 22 Oct 2024

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
        } }
    }
};
```

Golang:

```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

- `jobConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | { [key: string]: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnUsageProfile.ConfigurationObjectProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_glue.CfnUsageProfile.ConfigurationObjectProperty.html) } — A key-value map of configuration parameters for AWS Glue jobs.

- `sessionConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | { [key: string]: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnUsageProfile.ConfigurationObjectProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_glue.CfnUsageProfile.ConfigurationObjectProperty.html) } — A key-value map of configuration parameters for AWS Glue sessions.
