@staticmethod
def __key_warning(key: str):
    suggest = None
    if (key == 'bucketName'):
        suggest = 'bucket_name'
    elif (key == 'encryptionOption'):
        suggest = 'encryption_option'
    elif (key == 'kmsKeyId'):
        suggest = 'kms_key_id'
    elif (key == 'objectKeyPrefix'):
        suggest = 'object_key_prefix'
    if suggest:
        pulumi.log.warn(f"Key '{key}' not found in TableMagneticStoreWritePropertiesMagneticStoreRejectedDataLocationS3Configuration. Access the value via the '{suggest}' property getter instead.")
@staticmethod
def __key_warning(key: str):
    suggest = None
    if (key == 'bucketName'):
        suggest = 'bucket_name'
    elif (key == 'encryptionOption'):
        suggest = 'encryption_option'
    elif (key == 'kmsKeyId'):
        suggest = 'kms_key_id'
    elif (key == 'objectKeyPrefix'):
        suggest = 'object_key_prefix'
    if suggest:
        pulumi.log.warn(f"Key '{key}' not found in TableMagneticStoreWritePropertiesMagneticStoreRejectedDataLocationS3Configuration. Access the value via the '{suggest}' property getter instead.")