Class RedactionLambdaProps.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.hsiehshujeng.cdk.comprehend.s3olap.RedactionLambdaProps.Jsii$Proxy
-
- All Implemented Interfaces:
RedactionLambdaProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- RedactionLambdaProps
@Stability(Stable) @Internal public static final class RedactionLambdaProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements RedactionLambdaProps
An implementation forRedactionLambdaProps
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface io.github.hsiehshujeng.cdk.comprehend.s3olap.RedactionLambdaProps
RedactionLambdaProps.Builder, RedactionLambdaProps.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(RedactionLambdaProps.Builder builder)Constructor that initializes the object based on literal property values passed by theRedactionLambdaProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)StringgetConfidenceThreshold()The minimum prediction confidence score above which PII classification and detection would be considered as final answer.StringgetContainsPiiEntitiesThreadCount()Number of threads to use for calling Comprehend's ContainsPiiEntities API.StringgetDefaultLanguageCode()Default language of the text to be processed.StringgetDetectPiiEntitiesThreadCount()Number of threads to use for calling Comprehend's DetectPiiEntities API.StringgetDocumentMaxSize()Default maximum document size (in bytes) that this function can process otherwise will throw exception for too large document size.StringgetDocumentMaxSizeContainsPiiEntities()Maximum document size (in bytes) to be used for making calls to Comprehend's ContainsPiiEntities API.StringgetDocumentMaxSizeDetectPiiEntities()Maximum document size (in bytes) to be used for making calls to Comprehend's DetectPiiEntities API.StringgetIsPartialObjectSupported()Whether to support partial objects or not.StringgetLogLevel()Log level for Lambda function logging, e.g., ERROR, INFO, DEBUG, etc.StringgetMaskCharacter()A character that replaces each character in the redacted PII entity.StringgetMaskMode()Specifies whether the PII entity is redacted with the mask character or the entity type.StringgetMaxCharsOverlap()Maximum characters to overlap among segments of a document in case chunking is needed because of maximum document size limit.StringgetPiiEntityTypes()List of comma separated PII entity types to be considered for redaction.StringgetPublishCloudWatchMetrics()True if publish metrics to Cloudwatch, false otherwise.StringgetSemanticVersion()The version of the serverless application.StringgetSubsegmentOverlappingTokens()Number of tokens/words to overlap among segments of a document in case chunking is needed because of maximum document size limit.StringgetUnsupportedFileHandling()Handling logic for Unsupported files.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(RedactionLambdaProps.Builder builder)
Constructor that initializes the object based on literal property values passed by theRedactionLambdaProps.Builder.
-
-
Method Detail
-
getConfidenceThreshold
public final String getConfidenceThreshold()
Description copied from interface:RedactionLambdaPropsThe minimum prediction confidence score above which PII classification and detection would be considered as final answer.Valid range (0.5 to 1.0).
Default: '0.5'
- Specified by:
getConfidenceThresholdin interfaceRedactionLambdaProps
-
getContainsPiiEntitiesThreadCount
public final String getContainsPiiEntitiesThreadCount()
Description copied from interface:RedactionLambdaPropsNumber of threads to use for calling Comprehend's ContainsPiiEntities API.This controls the number of simultaneous calls that will be made from this Lambda.
Default: '20'
- Specified by:
getContainsPiiEntitiesThreadCountin interfaceRedactionLambdaProps
-
getDefaultLanguageCode
public final String getDefaultLanguageCode()
Description copied from interface:RedactionLambdaPropsDefault language of the text to be processed.This code will be used for interacting with Comprehend.
Default: 'en'
- Specified by:
getDefaultLanguageCodein interfaceRedactionLambdaProps
-
getDetectPiiEntitiesThreadCount
public final String getDetectPiiEntitiesThreadCount()
Description copied from interface:RedactionLambdaPropsNumber of threads to use for calling Comprehend's DetectPiiEntities API.This controls the number of simultaneous calls that will be made from this Lambda.
Default: '8'
- Specified by:
getDetectPiiEntitiesThreadCountin interfaceRedactionLambdaProps
-
getDocumentMaxSize
public final String getDocumentMaxSize()
Description copied from interface:RedactionLambdaPropsDefault maximum document size (in bytes) that this function can process otherwise will throw exception for too large document size.Default: '102400'
- Specified by:
getDocumentMaxSizein interfaceRedactionLambdaProps
-
getDocumentMaxSizeContainsPiiEntities
public final String getDocumentMaxSizeContainsPiiEntities()
Description copied from interface:RedactionLambdaPropsMaximum document size (in bytes) to be used for making calls to Comprehend's ContainsPiiEntities API.Default: '50000'
- Specified by:
getDocumentMaxSizeContainsPiiEntitiesin interfaceRedactionLambdaProps
-
getDocumentMaxSizeDetectPiiEntities
public final String getDocumentMaxSizeDetectPiiEntities()
Description copied from interface:RedactionLambdaPropsMaximum document size (in bytes) to be used for making calls to Comprehend's DetectPiiEntities API.Default: '5000'
- Specified by:
getDocumentMaxSizeDetectPiiEntitiesin interfaceRedactionLambdaProps
-
getIsPartialObjectSupported
public final String getIsPartialObjectSupported()
Description copied from interface:RedactionLambdaPropsWhether to support partial objects or not.Accessing partial object through http headers such byte-range can corrupt the object and/or affect PII detection accuracy.
Default: 'false'
- Specified by:
getIsPartialObjectSupportedin interfaceRedactionLambdaProps
-
getLogLevel
public final String getLogLevel()
Description copied from interface:RedactionLambdaPropsLog level for Lambda function logging, e.g., ERROR, INFO, DEBUG, etc.Default: 'INFO'
- Specified by:
getLogLevelin interfaceRedactionLambdaProps
-
getMaskCharacter
public final String getMaskCharacter()
Description copied from interface:RedactionLambdaPropsA character that replaces each character in the redacted PII entity.Default: '*'
- Specified by:
getMaskCharacterin interfaceRedactionLambdaProps
-
getMaskMode
public final String getMaskMode()
Description copied from interface:RedactionLambdaPropsSpecifies whether the PII entity is redacted with the mask character or the entity type.Valid values - REPLACE_WITH_PII_ENTITY_TYPE and MASK.
- Specified by:
getMaskModein interfaceRedactionLambdaProps
-
getMaxCharsOverlap
public final String getMaxCharsOverlap()
Description copied from interface:RedactionLambdaPropsMaximum characters to overlap among segments of a document in case chunking is needed because of maximum document size limit.Default: '200'
- Specified by:
getMaxCharsOverlapin interfaceRedactionLambdaProps
-
getPiiEntityTypes
public final String getPiiEntityTypes()
Description copied from interface:RedactionLambdaPropsList of comma separated PII entity types to be considered for redaction.Refer Comprehend's documentation page for list of supported PII entity types.
Default: 'ALL'
- Specified by:
getPiiEntityTypesin interfaceRedactionLambdaProps
-
getPublishCloudWatchMetrics
public final String getPublishCloudWatchMetrics()
Description copied from interface:RedactionLambdaPropsTrue if publish metrics to Cloudwatch, false otherwise.See README.md for details on CloudWatch metrics.
Default: 'true'
- Specified by:
getPublishCloudWatchMetricsin interfaceRedactionLambdaProps
-
getSemanticVersion
public final String getSemanticVersion()
Description copied from interface:RedactionLambdaPropsThe version of the serverless application.Default: '1.0.2'
- Specified by:
getSemanticVersionin interfaceRedactionLambdaProps
-
getSubsegmentOverlappingTokens
public final String getSubsegmentOverlappingTokens()
Description copied from interface:RedactionLambdaPropsNumber of tokens/words to overlap among segments of a document in case chunking is needed because of maximum document size limit.Default: '20'
- Specified by:
getSubsegmentOverlappingTokensin interfaceRedactionLambdaProps
-
getUnsupportedFileHandling
public final String getUnsupportedFileHandling()
Description copied from interface:RedactionLambdaPropsHandling logic for Unsupported files.Valid values are PASS and FAIL.
Default: 'FAIL'
- Specified by:
getUnsupportedFileHandlingin interfaceRedactionLambdaProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-