InventoryTableConfigurationProperty Struct
The inventory table configuration for an S3 Metadata configuration.
| 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_s3 as s3 } from 'aws-cdk-lib';
const inventoryTableConfigurationProperty: s3.CfnBucket.InventoryTableConfigurationProperty = {
configurationState: 'configurationState',
// the properties below are optional
encryptionConfiguration: {
sseAlgorithm: 'sseAlgorithm',
// the properties below are optional
kmsKeyArn: 'kmsKeyArn',
},
tableArn: 'tableArn',
tableName: 'tableName',
};
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_s3 as s3
inventory_table_configuration_property = s3.CfnBucket.InventoryTableConfigurationProperty(
configuration_state="configurationState",
# the properties below are optional
encryption_configuration=s3.CfnBucket.MetadataTableEncryptionConfigurationProperty(
sse_algorithm="sseAlgorithm",
# the properties below are optional
kms_key_arn="kmsKeyArn"
),
table_arn="tableArn",
table_name="tableName"
)
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.s3.*;
InventoryTableConfigurationProperty inventoryTableConfigurationProperty = InventoryTableConfigurationProperty.builder()
.configurationState("configurationState")
// the properties below are optional
.encryptionConfiguration(MetadataTableEncryptionConfigurationProperty.builder()
.sseAlgorithm("sseAlgorithm")
// the properties below are optional
.kmsKeyArn("kmsKeyArn")
.build())
.tableArn("tableArn")
.tableName("tableName")
.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.S3;
var inventoryTableConfigurationProperty = new InventoryTableConfigurationProperty {
ConfigurationState = "configurationState",
// the properties below are optional
EncryptionConfiguration = new MetadataTableEncryptionConfigurationProperty {
SseAlgorithm = "sseAlgorithm",
// the properties below are optional
KmsKeyArn = "kmsKeyArn"
},
TableArn = "tableArn",
TableName = "tableName"
};
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"
inventoryTableConfigurationProperty := &InventoryTableConfigurationProperty{
ConfigurationState: jsii.String("configurationState"),
// the properties below are optional
EncryptionConfiguration: &MetadataTableEncryptionConfigurationProperty{
SseAlgorithm: jsii.String("sseAlgorithm"),
// the properties below are optional
KmsKeyArn: jsii.String("kmsKeyArn"),
},
TableArn: jsii.String("tableArn"),
TableName: jsii.String("tableName"),
}
Properties
configurationStatestringconfiguration_statestrconfigurationStateStringConfigurationStatestringConfigurationState*string required #The configuration state of the inventory table, indicating whether the inventory table is enabled or disabled.
encryptionConfigurationoptionalIResolvable | CfnBucket.encryption_configurationoptionaltyping.Union[IResolvable, MetadataTableEncryptionConfigurationProperty]encryptionConfigurationoptionalIResolvableEncryptionConfigurationoptionalIResolvableEncryptionConfigurationoptionalinterface{} #The encryption configuration for the inventory table.
tableArnoptionalstringtable_arnoptionalstrtableArnoptionalStringTableArnoptionalstringTableArnoptional*string #The Amazon Resource Name (ARN) for the inventory table.
tableNameoptionalstringtable_nameoptionalstrtableNameoptionalStringTableNameoptionalstringTableNameoptional*string #The name of the inventory table.