CfnSystemTablesProps Struct
Properties for defining a CfnSystemTables.
| Source |
|---|
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 cfnSystemTablesProps: athena.CfnSystemTablesProps = {
tableName: 'tableName',
// the properties below are optional
kmsKeyArn: 'kmsKeyArn',
tags: [{
key: 'key',
value: 'value',
}],
};
python
from aws_cdk import CfnTag
# 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
cfn_system_tables_props = athena.CfnSystemTablesProps(
table_name="tableName",
# the properties below are optional
kms_key_arn="kmsKeyArn",
tags=[CfnTag(
key="key",
value="value"
)]
)
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.*;
CfnSystemTablesProps cfnSystemTablesProps = CfnSystemTablesProps.builder()
.tableName("tableName")
// the properties below are optional
.kmsKeyArn("kmsKeyArn")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.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.Athena;
var cfnSystemTablesProps = new CfnSystemTablesProps {
TableName = "tableName",
// the properties below are optional
KmsKeyArn = "kmsKeyArn",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
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"
cfnSystemTablesProps := &CfnSystemTablesProps{
TableName: jsii.String("tableName"),
// the properties below are optional
KmsKeyArn: jsii.String("kmsKeyArn"),
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
kmsKeyArnoptionalstringkms_key_arnoptionalstrkmsKeyArnoptionalStringKmsKeyArnoptionalstringKmsKeyArnoptional*string #The ARN of the customer managed AWS KMS key used to encrypt the system table data.
Specify a key ARN (not an alias); the key must be in the same account and Region. The encryption choice is permanent for the account and Region: it cannot be changed or removed after creation, and it persists after this resource is deleted.
The reserved keyword identifying the account-level System Tables configuration.
The only accepted value is ALL, which enables all system tables for the account. This is the resource's primary identifier.