Create Work Group
| athena_create_work_group | R Documentation |
Creates a workgroup with the specified name¶
Description¶
Creates a workgroup with the specified name. A workgroup can be an Apache Spark enabled workgroup or an Athena SQL workgroup.
Usage¶
Arguments¶
Name[required] The workgroup name.
ConfigurationContains configuration information for creating an Athena SQL workgroup or Spark enabled Athena workgroup. Athena SQL workgroup configuration includes the location in Amazon S3 where query and calculation results are stored, the encryption configuration, if any, used for encrypting query results, whether the Amazon CloudWatch Metrics are enabled for the workgroup, the limit for the amount of bytes scanned (cutoff) per query, if it is specified, and whether workgroup's settings (specified with
EnforceWorkGroupConfiguration) in theWorkGroupConfigurationoverride client-side settings. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.DescriptionThe workgroup description.
TagsA list of comma separated tags to add to the workgroup that is created.
Value¶
An empty list.
Request syntax¶
svc$create_work_group(
Name = "string",
Configuration = list(
ResultConfiguration = list(
OutputLocation = "string",
EncryptionConfiguration = list(
EncryptionOption = "SSE_S3"|"SSE_KMS"|"CSE_KMS",
KmsKey = "string"
),
ExpectedBucketOwner = "string",
AclConfiguration = list(
S3AclOption = "BUCKET_OWNER_FULL_CONTROL"
)
),
EnforceWorkGroupConfiguration = TRUE|FALSE,
PublishCloudWatchMetricsEnabled = TRUE|FALSE,
BytesScannedCutoffPerQuery = 123,
RequesterPaysEnabled = TRUE|FALSE,
EngineVersion = list(
SelectedEngineVersion = "string",
EffectiveEngineVersion = "string"
),
AdditionalConfiguration = "string",
ExecutionRole = "string",
CustomerContentEncryptionConfiguration = list(
KmsKey = "string"
),
EnableMinimumEncryptionConfiguration = TRUE|FALSE,
IdentityCenterConfiguration = list(
EnableIdentityCenter = TRUE|FALSE,
IdentityCenterInstanceArn = "string"
),
QueryResultsS3AccessGrantsConfiguration = list(
EnableS3AccessGrants = TRUE|FALSE,
CreateUserLevelPrefix = TRUE|FALSE,
AuthenticationType = "DIRECTORY_IDENTITY"
)
),
Description = "string",
Tags = list(
list(
Key = "string",
Value = "string"
)
)
)