EngineVersionProperty Struct
The Athena engine version for running queries, or the PySpark engine version for running sessions.
| 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_athena as athena } from 'aws-cdk-lib';
const engineVersionProperty: athena.CfnWorkGroup.EngineVersionProperty = {
effectiveEngineVersion: 'effectiveEngineVersion',
selectedEngineVersion: 'selectedEngineVersion',
};
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_athena as athena
engine_version_property = athena.CfnWorkGroup.EngineVersionProperty(
effective_engine_version="effectiveEngineVersion",
selected_engine_version="selectedEngineVersion"
)
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.athena.*;
EngineVersionProperty engineVersionProperty = EngineVersionProperty.builder()
.effectiveEngineVersion("effectiveEngineVersion")
.selectedEngineVersion("selectedEngineVersion")
.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.Athena;
var engineVersionProperty = new EngineVersionProperty {
EffectiveEngineVersion = "effectiveEngineVersion",
SelectedEngineVersion = "selectedEngineVersion"
};
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"
engineVersionProperty := &EngineVersionProperty{
EffectiveEngineVersion: jsii.String("effectiveEngineVersion"),
SelectedEngineVersion: jsii.String("selectedEngineVersion"),
}
Properties
effectiveEngineVersionoptionalstringeffective_engine_versionoptionalstreffectiveEngineVersionoptionalStringEffectiveEngineVersionoptionalstringEffectiveEngineVersionoptional*string #Read only.
notes
The engine version on which the query runs. If the user requests a valid engine version other than Auto, the effective engine version is the same as the engine version that the user requested. If the user requests Auto, the effective engine version is chosen by Athena. When a request to update the engine version is made by a CreateWorkGroup or UpdateWorkGroup operation, the EffectiveEngineVersion field is ignored.
selectedEngineVersionoptionalstringselected_engine_versionoptionalstrselectedEngineVersionoptionalStringSelectedEngineVersionoptionalstringSelectedEngineVersionoptional*string #The engine version requested by the user.
Possible values are determined by the output of ListEngineVersions , including AUTO. The default is AUTO.