# CfnS3TableIntegrationProps

Properties for defining a `CfnS3TableIntegration`.

Used as props by: [CfnS3TableIntegration](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_observabilityadmin.CfnS3TableIntegration.html)

- Source: Generated at build time
- Type last changed: v2.232.0 · 5 Dec 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_observabilityadmin as observabilityadmin } from 'aws-cdk-lib';
const cfnS3TableIntegrationProps: observabilityadmin.CfnS3TableIntegrationProps = {
  encryption: {
    sseAlgorithm: 'sseAlgorithm',

    // the properties below are optional
    kmsKeyArn: 'kmsKeyArn',
  },
  roleArn: 'roleArn',

  // the properties below are optional
  logSources: [{
    name: 'name',
    type: 'type',

    // the properties below are optional
    identifier: 'identifier',
  }],
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

Python:

```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_observabilityadmin as observabilityadmin

cfn_s3_table_integration_props = observabilityadmin.CfnS3TableIntegrationProps(
    encryption=observabilityadmin.CfnS3TableIntegration.EncryptionConfigProperty(
        sse_algorithm="sseAlgorithm",

        # the properties below are optional
        kms_key_arn="kmsKeyArn"
    ),
    role_arn="roleArn",

    # the properties below are optional
    log_sources=[observabilityadmin.CfnS3TableIntegration.LogSourceProperty(
        name="name",
        type="type",

        # the properties below are optional
        identifier="identifier"
    )],
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
```

Java:

```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.observabilityadmin.*;

CfnS3TableIntegrationProps cfnS3TableIntegrationProps = CfnS3TableIntegrationProps.builder()
        .encryption(EncryptionConfigProperty.builder()
                .sseAlgorithm("sseAlgorithm")

                // the properties below are optional
                .kmsKeyArn("kmsKeyArn")
                .build())
        .roleArn("roleArn")

        // the properties below are optional
        .logSources(List.of(LogSourceProperty.builder()
                .name("name")
                .type("type")

                // the properties below are optional
                .identifier("identifier")
                .build()))
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .build();
```

C# / .NET:

```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.ObservabilityAdmin;

var cfnS3TableIntegrationProps = new CfnS3TableIntegrationProps {
    Encryption = new EncryptionConfigProperty {
        SseAlgorithm = "sseAlgorithm",

        // the properties below are optional
        KmsKeyArn = "kmsKeyArn"
    },
    RoleArn = "roleArn",

    // the properties below are optional
    LogSources = new [] { new LogSourceProperty {
        Name = "name",
        Type = "type",

        // the properties below are optional
        Identifier = "identifier"
    } },
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
```

Golang:

```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"

cfnS3TableIntegrationProps := &CfnS3TableIntegrationProps{
	Encryption: &EncryptionConfigProperty{
		SseAlgorithm: jsii.String("sseAlgorithm"),

		// the properties below are optional
		KmsKeyArn: jsii.String("kmsKeyArn"),
	},
	RoleArn: jsii.String("roleArn"),

	// the properties below are optional
	LogSources: []interface{}{
		&LogSourceProperty{
			Name: jsii.String("name"),
			Type: jsii.String("type"),

			// the properties below are optional
			Identifier: jsii.String("identifier"),
		},
	},
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}
```

## Properties

- `encryption`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnS3TableIntegration.EncryptionConfigProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_observabilityadmin.CfnS3TableIntegration.EncryptionConfigProperty.html) (required) — Defines the encryption configuration for S3 Table integrations, including the encryption algorithm and KMS key settings.

- `logSources`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnS3TableIntegration.LogSourceProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_observabilityadmin.CfnS3TableIntegration.LogSourceProperty.html)[] — A data source with an S3 Table integration for query access in the `logs` namespace.

- `roleArn`: string (required) — The Amazon Resource Name (ARN) of the IAM role that grants permissions for the S3 Table integration to access necessary resources.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The key-value pairs to associate with the S3 Table integration resource for categorization and management purposes.
