CfnS3TableIntegrationProps Struct
Properties for defining a CfnS3TableIntegration.
| 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_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
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
// 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();
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"
} }
};
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
encryptionIResolvable | CfnS3TableIntegration.encryptiontyping.Union[IResolvable, EncryptionConfigProperty]encryptionIResolvableEncryptionIResolvableEncryptioninterface{} required #Defines the encryption configuration for S3 Table integrations, including the encryption algorithm and KMS key settings.
logSourcesoptionalIResolvable | IResolvable | CfnS3TableIntegration.log_sourcesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, LogSourceProperty]]]logSourcesoptionalIResolvableLogSourcesoptionalIResolvableLogSourcesoptionalinterface{} #A data source with an S3 Table integration for query access in the `logs` namespace.
The Amazon Resource Name (ARN) of the IAM role that grants permissions for the S3 Table integration to access necessary resources.