S3StorageConfigProperty Struct
The Amazon Simple Storage (Amazon S3) location and security configuration for OfflineStore .
| 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_sagemaker as sagemaker } from 'aws-cdk-lib';
const s3StorageConfigProperty: sagemaker.CfnFeatureGroup.S3StorageConfigProperty = {
s3Uri: 's3Uri',
// the properties below are optional
kmsKeyId: 'kmsKeyId',
};
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_sagemaker as sagemaker
s3_storage_config_property = sagemaker.CfnFeatureGroup.S3StorageConfigProperty(
s3_uri="s3Uri",
# the properties below are optional
kms_key_id="kmsKeyId"
)
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.sagemaker.*;
S3StorageConfigProperty s3StorageConfigProperty = S3StorageConfigProperty.builder()
.s3Uri("s3Uri")
// the properties below are optional
.kmsKeyId("kmsKeyId")
.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.Sagemaker;
var s3StorageConfigProperty = new S3StorageConfigProperty {
S3Uri = "s3Uri",
// the properties below are optional
KmsKeyId = "kmsKeyId"
};
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"
s3StorageConfigProperty := &S3StorageConfigProperty{
S3Uri: jsii.String("s3Uri"),
// the properties below are optional
KmsKeyId: jsii.String("kmsKeyId"),
}
Properties
kmsKeyIdoptionalstringkms_key_idoptionalstrkmsKeyIdoptionalStringKmsKeyIdoptionalstringKmsKeyIdoptional*string #The AWS Key Management Service (KMS) key ARN of the key used to encrypt any objects written into the `OfflineStore` S3 location.
The IAM roleARN that is passed as a parameter to CreateFeatureGroup must have below permissions to the KmsKeyId :
"kms:GenerateDataKey"
The S3 URI, or location in Amazon S3, of `OfflineStore` .
S3 URIs have a format similar to the following: s3://example-bucket/prefix/ .