Class CfnEndpoint.RedshiftSettingsProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnEndpoint.RedshiftSettingsProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnEndpoint.RedshiftSettingsProperty
CfnEndpoint.RedshiftSettingsProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.dms.CfnEndpoint.RedshiftSettingsProperty
CfnEndpoint.RedshiftSettingsProperty.Builder, CfnEndpoint.RedshiftSettingsProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnEndpoint.RedshiftSettingsProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal ObjectA value that indicates to allow any date format, including invalid formats such as 00/00/00 00:00:00, to be loaded without generating an error.final StringCode to run after connecting.final StringAn S3 folder where the comma-separated-value (.csv) files are stored before being uploaded to the target Redshift cluster.final StringThe name of the intermediate S3 bucket used to store .csv files before uploading data to Redshift.final ObjectIf Amazon Redshift is configured to support case sensitive schema names, setCaseSensitiveNamestotrue.final ObjectIf you setCompUpdatetotrueAmazon Redshift applies automatic compression if the table is empty.final NumberA value that sets the amount of time to wait (in milliseconds) before timing out, beginning from when you initially establish a connection.final StringThe date format that you are using.final ObjectA value that specifies whether AWS DMS should migrate empty CHAR and VARCHAR fields as NULL.final StringThe type of server-side encryption that you want to use for your data.final ObjectThis setting is only valid for a full-load migration task.final NumberThe number of threads used to upload a single file.final NumberThe amount of time to wait (in milliseconds) before timing out of operations performed by AWS DMS on a Redshift cluster, such as Redshift COPY, INSERT, DELETE, and UPDATE.final ObjectWhen true, lets Redshift migrate the boolean type as boolean.final NumberThe maximum size (in KB) of any .csv file used to load data on an S3 bucket and transfer data to Amazon Redshift.final ObjectA value that specifies to remove surrounding quotation marks from strings in the incoming data.final StringA value that specifies to replaces the invalid characters specified inReplaceInvalidChars, substituting the specified characters instead.final StringA list of characters that you want to replace.final StringThe full Amazon Resource Name (ARN) of the IAM role that specifies AWS DMS as the trusted entity and grants the required permissions to access the value inSecretsManagerSecret.final StringThe full ARN, partial ARN, or display name of theSecretsManagerSecretthat contains the Amazon Redshift endpoint connection details.final StringThe AWS KMS key ID.final StringThe Amazon Resource Name (ARN) of the IAM role that has access to the Amazon Redshift service.final StringThe time format that you want to use.final ObjectA value that specifies to remove the trailing white space characters from a VARCHAR string.final ObjectA value that specifies to truncate data in columns to the appropriate number of characters, so that the data fits in the column.final NumberThe size (in KB) of the in-memory file write buffer used when generating .csv files on the local disk at the DMS replication instance.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
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
Constructor that initializes the object based on literal property values passed by theCfnEndpoint.RedshiftSettingsProperty.Builder.
-
-
Method Details
-
getAcceptAnyDate
Description copied from interface:CfnEndpoint.RedshiftSettingsPropertyA value that indicates to allow any date format, including invalid formats such as 00/00/00 00:00:00, to be loaded without generating an error.You can choose
trueorfalse(the default).This parameter applies only to TIMESTAMP and DATE columns. Always use ACCEPTANYDATE with the DATEFORMAT parameter. If the date format for the data doesn't match the DATEFORMAT specification, Amazon Redshift inserts a NULL value into that field.
Returns union: either
BooleanorIResolvable- Specified by:
getAcceptAnyDatein interfaceCfnEndpoint.RedshiftSettingsProperty- See Also:
-
getAfterConnectScript
Description copied from interface:CfnEndpoint.RedshiftSettingsPropertyCode to run after connecting.This parameter should contain the code itself, not the name of a file containing the code.
- Specified by:
getAfterConnectScriptin interfaceCfnEndpoint.RedshiftSettingsProperty- See Also:
-
getBucketFolder
Description copied from interface:CfnEndpoint.RedshiftSettingsPropertyAn S3 folder where the comma-separated-value (.csv) files are stored before being uploaded to the target Redshift cluster.For full load mode, AWS DMS converts source records into .csv files and loads them to the BucketFolder/TableID path. AWS DMS uses the Redshift
COPYcommand to upload the .csv files to the target table. The files are deleted once theCOPYoperation has finished. For more information, see COPY in the Amazon Redshift Database Developer Guide .For change-data-capture (CDC) mode, AWS DMS creates a NetChanges table, and loads the .csv files to this BucketFolder/NetChangesTableID path.
- Specified by:
getBucketFolderin interfaceCfnEndpoint.RedshiftSettingsProperty- See Also:
-
getBucketName
Description copied from interface:CfnEndpoint.RedshiftSettingsPropertyThe name of the intermediate S3 bucket used to store .csv files before uploading data to Redshift.- Specified by:
getBucketNamein interfaceCfnEndpoint.RedshiftSettingsProperty- See Also:
-
getCaseSensitiveNames
Description copied from interface:CfnEndpoint.RedshiftSettingsPropertyIf Amazon Redshift is configured to support case sensitive schema names, setCaseSensitiveNamestotrue.The default is
false.Returns union: either
BooleanorIResolvable- Specified by:
getCaseSensitiveNamesin interfaceCfnEndpoint.RedshiftSettingsProperty- See Also:
-
getCompUpdate
Description copied from interface:CfnEndpoint.RedshiftSettingsPropertyIf you setCompUpdatetotrueAmazon Redshift applies automatic compression if the table is empty.This applies even if the table columns already have encodings other than
RAW. If you setCompUpdatetofalse, automatic compression is disabled and existing column encodings aren't changed. The default istrue.Returns union: either
BooleanorIResolvable- Specified by:
getCompUpdatein interfaceCfnEndpoint.RedshiftSettingsProperty- See Also:
-
getConnectionTimeout
Description copied from interface:CfnEndpoint.RedshiftSettingsPropertyA value that sets the amount of time to wait (in milliseconds) before timing out, beginning from when you initially establish a connection.- Specified by:
getConnectionTimeoutin interfaceCfnEndpoint.RedshiftSettingsProperty- See Also:
-
getDateFormat
Description copied from interface:CfnEndpoint.RedshiftSettingsPropertyThe date format that you are using.Valid values are
auto(case-sensitive), your date format string enclosed in quotes, or NULL. If this parameter is left unset (NULL), it defaults to a format of 'YYYY-MM-DD'. Usingautorecognizes most strings, even some that aren't supported when you use a date format string.If your date and time values use formats different from each other, set this to
auto.- Specified by:
getDateFormatin interfaceCfnEndpoint.RedshiftSettingsProperty- See Also:
-
getEmptyAsNull
Description copied from interface:CfnEndpoint.RedshiftSettingsPropertyA value that specifies whether AWS DMS should migrate empty CHAR and VARCHAR fields as NULL.A value of
truesets empty CHAR and VARCHAR fields to null. The default isfalse.Returns union: either
BooleanorIResolvable- Specified by:
getEmptyAsNullin interfaceCfnEndpoint.RedshiftSettingsProperty- See Also:
-
getEncryptionMode
Description copied from interface:CfnEndpoint.RedshiftSettingsPropertyThe type of server-side encryption that you want to use for your data.This encryption type is part of the endpoint settings or the extra connections attributes for Amazon S3. You can choose either
SSE_S3(the default) orSSE_KMS.For the
ModifyEndpointoperation, you can change the existing value of theEncryptionModeparameter fromSSE_KMStoSSE_S3. But you can’t change the existing value fromSSE_S3toSSE_KMS.To use
SSE_S3, create an AWS Identity and Access Management (IAM) role with a policy that allows"arn:aws:s3:::*"to use the following actions:"s3:PutObject", "s3:ListBucket"- Specified by:
getEncryptionModein interfaceCfnEndpoint.RedshiftSettingsProperty- See Also:
-
getExplicitIds
Description copied from interface:CfnEndpoint.RedshiftSettingsPropertyThis setting is only valid for a full-load migration task.Set
ExplicitIdstotrueto have tables withIDENTITYcolumns override their auto-generated values with explicit values loaded from the source data files used to populate the tables. The default isfalse.Returns union: either
BooleanorIResolvable- Specified by:
getExplicitIdsin interfaceCfnEndpoint.RedshiftSettingsProperty- See Also:
-
getFileTransferUploadStreams
Description copied from interface:CfnEndpoint.RedshiftSettingsPropertyThe number of threads used to upload a single file.This parameter accepts a value from 1 through 64. It defaults to 10.
The number of parallel streams used to upload a single .csv file to an S3 bucket using S3 Multipart Upload. For more information, see Multipart upload overview .
FileTransferUploadStreamsaccepts a value from 1 through 64. It defaults to 10.- Specified by:
getFileTransferUploadStreamsin interfaceCfnEndpoint.RedshiftSettingsProperty- See Also:
-
getLoadTimeout
Description copied from interface:CfnEndpoint.RedshiftSettingsPropertyThe amount of time to wait (in milliseconds) before timing out of operations performed by AWS DMS on a Redshift cluster, such as Redshift COPY, INSERT, DELETE, and UPDATE.- Specified by:
getLoadTimeoutin interfaceCfnEndpoint.RedshiftSettingsProperty- See Also:
-
getMapBooleanAsBoolean
Description copied from interface:CfnEndpoint.RedshiftSettingsPropertyWhen true, lets Redshift migrate the boolean type as boolean.By default, Redshift migrates booleans as
varchar(1). You must set this setting on both the source and target endpoints for it to take effect.Returns union: either
BooleanorIResolvable- Specified by:
getMapBooleanAsBooleanin interfaceCfnEndpoint.RedshiftSettingsProperty- See Also:
-
getMaxFileSize
Description copied from interface:CfnEndpoint.RedshiftSettingsPropertyThe maximum size (in KB) of any .csv file used to load data on an S3 bucket and transfer data to Amazon Redshift. It defaults to 1048576KB (1 GB).- Specified by:
getMaxFileSizein interfaceCfnEndpoint.RedshiftSettingsProperty- See Also:
-
getRemoveQuotes
Description copied from interface:CfnEndpoint.RedshiftSettingsPropertyA value that specifies to remove surrounding quotation marks from strings in the incoming data.All characters within the quotation marks, including delimiters, are retained. Choose
trueto remove quotation marks. The default isfalse.Returns union: either
BooleanorIResolvable- Specified by:
getRemoveQuotesin interfaceCfnEndpoint.RedshiftSettingsProperty- See Also:
-
getReplaceChars
Description copied from interface:CfnEndpoint.RedshiftSettingsPropertyA value that specifies to replaces the invalid characters specified inReplaceInvalidChars, substituting the specified characters instead.The default is
"?".- Specified by:
getReplaceCharsin interfaceCfnEndpoint.RedshiftSettingsProperty- See Also:
-
getReplaceInvalidChars
Description copied from interface:CfnEndpoint.RedshiftSettingsPropertyA list of characters that you want to replace.Use with
ReplaceChars.- Specified by:
getReplaceInvalidCharsin interfaceCfnEndpoint.RedshiftSettingsProperty- See Also:
-
getSecretsManagerAccessRoleArn
Description copied from interface:CfnEndpoint.RedshiftSettingsPropertyThe full Amazon Resource Name (ARN) of the IAM role that specifies AWS DMS as the trusted entity and grants the required permissions to access the value inSecretsManagerSecret.The role must allow the
iam:PassRoleaction.SecretsManagerSecrethas the value of the AWS Secrets Manager secret that allows access to the Amazon Redshift endpoint.You can specify one of two sets of values for these permissions. You can specify the values for this setting and
SecretsManagerSecretId. Or you can specify clear-text values forUserName,Password,ServerName, andPort. You can't specify both.For more information on creating this
SecretsManagerSecret, the correspondingSecretsManagerAccessRoleArn, and theSecretsManagerSecretIdthat is required to access it, see Using secrets to access AWS Database Migration Service resources in the AWS Database Migration Service User Guide .- Specified by:
getSecretsManagerAccessRoleArnin interfaceCfnEndpoint.RedshiftSettingsProperty- See Also:
-
getSecretsManagerSecretId
Description copied from interface:CfnEndpoint.RedshiftSettingsPropertyThe full ARN, partial ARN, or display name of theSecretsManagerSecretthat contains the Amazon Redshift endpoint connection details.- Specified by:
getSecretsManagerSecretIdin interfaceCfnEndpoint.RedshiftSettingsProperty- See Also:
-
getServerSideEncryptionKmsKeyId
Description copied from interface:CfnEndpoint.RedshiftSettingsPropertyThe AWS KMS key ID.If you are using
SSE_KMSfor theEncryptionMode, provide this key ID. The key that you use needs an attached policy that enables IAM user permissions and allows use of the key.- Specified by:
getServerSideEncryptionKmsKeyIdin interfaceCfnEndpoint.RedshiftSettingsProperty- See Also:
-
getServiceAccessRoleArn
Description copied from interface:CfnEndpoint.RedshiftSettingsPropertyThe Amazon Resource Name (ARN) of the IAM role that has access to the Amazon Redshift service.The role must allow the
iam:PassRoleaction.- Specified by:
getServiceAccessRoleArnin interfaceCfnEndpoint.RedshiftSettingsProperty- See Also:
-
getTimeFormat
Description copied from interface:CfnEndpoint.RedshiftSettingsPropertyThe time format that you want to use.Valid values are
auto(case-sensitive),'timeformat_string','epochsecs', or'epochmillisecs'. It defaults to 10. Usingautorecognizes most strings, even some that aren't supported when you use a time format string.If your date and time values use formats different from each other, set this parameter to
auto.- Specified by:
getTimeFormatin interfaceCfnEndpoint.RedshiftSettingsProperty- See Also:
-
getTrimBlanks
Description copied from interface:CfnEndpoint.RedshiftSettingsPropertyA value that specifies to remove the trailing white space characters from a VARCHAR string.This parameter applies only to columns with a VARCHAR data type. Choose
trueto remove unneeded white space. The default isfalse.Returns union: either
BooleanorIResolvable- Specified by:
getTrimBlanksin interfaceCfnEndpoint.RedshiftSettingsProperty- See Also:
-
getTruncateColumns
Description copied from interface:CfnEndpoint.RedshiftSettingsPropertyA value that specifies to truncate data in columns to the appropriate number of characters, so that the data fits in the column.This parameter applies only to columns with a VARCHAR or CHAR data type, and rows with a size of 4 MB or less. Choose
trueto truncate data. The default isfalse.Returns union: either
BooleanorIResolvable- Specified by:
getTruncateColumnsin interfaceCfnEndpoint.RedshiftSettingsProperty- See Also:
-
getWriteBufferSize
Description copied from interface:CfnEndpoint.RedshiftSettingsPropertyThe size (in KB) of the in-memory file write buffer used when generating .csv files on the local disk at the DMS replication instance. The default value is 1000 (buffer size is 1000KB).- Specified by:
getWriteBufferSizein interfaceCfnEndpoint.RedshiftSettingsProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-