Interface CfnFlywheelProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFlywheelProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:33.435Z")
@Stability(Stable)
public interface CfnFlywheelProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnFlywheel.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.comprehend.*;
CfnFlywheelProps cfnFlywheelProps = CfnFlywheelProps.builder()
.dataAccessRoleArn("dataAccessRoleArn")
.dataLakeS3Uri("dataLakeS3Uri")
.flywheelName("flywheelName")
// the properties below are optional
.activeModelArn("activeModelArn")
.dataSecurityConfig(DataSecurityConfigProperty.builder()
.dataLakeKmsKeyId("dataLakeKmsKeyId")
.modelKmsKeyId("modelKmsKeyId")
.volumeKmsKeyId("volumeKmsKeyId")
.vpcConfig(VpcConfigProperty.builder()
.securityGroupIds(List.of("securityGroupIds"))
.subnets(List.of("subnets"))
.build())
.build())
.modelType("modelType")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.taskConfig(TaskConfigProperty.builder()
.languageCode("languageCode")
// the properties below are optional
.documentClassificationConfig(DocumentClassificationConfigProperty.builder()
.mode("mode")
// the properties below are optional
.labels(List.of("labels"))
.build())
.entityRecognitionConfig(EntityRecognitionConfigProperty.builder()
.entityTypes(List.of(EntityTypesListItemProperty.builder()
.type("type")
.build()))
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFlywheelPropsstatic final classAn implementation forCfnFlywheelProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnFlywheelProps.Builderbuilder()default StringThe Amazon Resource Number (ARN) of the active model version.The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend permission to access the flywheel data.Amazon S3 URI of the data lake location.default ObjectData security configuration.Name for the flywheel.default StringModel type of the flywheel's model.getTags()Tags associated with the endpoint being created.default ObjectConfiguration about the model associated with a flywheel.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDataAccessRoleArn
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend permission to access the flywheel data.- See Also:
-
getDataLakeS3Uri
Amazon S3 URI of the data lake location.- See Also:
-
getFlywheelName
Name for the flywheel.- See Also:
-
getActiveModelArn
The Amazon Resource Number (ARN) of the active model version.- See Also:
-
getDataSecurityConfig
Data security configuration.Returns union: either
IResolvableorCfnFlywheel.DataSecurityConfigProperty- See Also:
-
getModelType
Model type of the flywheel's model.- See Also:
-
getTags
Tags associated with the endpoint being created.A tag is a key-value pair that adds metadata to the endpoint. For example, a tag with "Sales" as the key might be added to an endpoint to indicate its use by the sales department.
- See Also:
-
getTaskConfig
Configuration about the model associated with a flywheel.Returns union: either
IResolvableorCfnFlywheel.TaskConfigProperty- See Also:
-
builder
- Returns:
- a
CfnFlywheelProps.BuilderofCfnFlywheelProps
-