CfnSessionMixinProps

class aws_cdk.cfn_property_mixins.aws_athena.CfnSessionMixinProps(*, engine_configuration=None, execution_role=None, work_group=None)

Bases: object

Properties for CfnSessionPropsMixin.

Parameters:
  • engine_configuration (Union[IResolvable, EngineConfigurationProperty, Dict[str, Any], None]) – Contains engine data processing unit (DPU) configuration settings.

  • execution_role (Optional[str]) – The ARN of the execution role used to access user resources for Spark sessions and Identity Center enabled workgroups.

  • work_group (Optional[str]) – The workgroup to which the session belongs.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-session.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.cfn_property_mixins import aws_athena as athena

cfn_session_mixin_props = athena.CfnSessionMixinProps(
    engine_configuration=athena.CfnSessionPropsMixin.EngineConfigurationProperty(
        additional_configs={
            "additional_configs_key": "additionalConfigs"
        },
        coordinator_dpu_size=123,
        default_executor_dpu_size=123,
        max_concurrent_dpus=123,
        spark_properties={
            "spark_properties_key": "sparkProperties"
        }
    ),
    execution_role="executionRole",
    work_group="workGroup"
)

Attributes

engine_configuration

Contains engine data processing unit (DPU) configuration settings.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-session.html#cfn-athena-session-engineconfiguration

execution_role

The ARN of the execution role used to access user resources for Spark sessions and Identity Center enabled workgroups.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-session.html#cfn-athena-session-executionrole

work_group

The workgroup to which the session belongs.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-session.html#cfn-athena-session-workgroup